mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-01 20:03:50 -04:00
Style: uncrustify kernel files
This commit is contained in:
parent
66a815653b
commit
587a83d647
385 changed files with 4714 additions and 4338 deletions
20
portable/ThirdParty/XCC/Xtensa/portclib.c
vendored
20
portable/ThirdParty/XCC/Xtensa/portclib.c
vendored
|
@ -87,18 +87,18 @@
|
|||
void * _sbrk_r( struct _reent * reent,
|
||||
int32_t incr )
|
||||
{
|
||||
extern char _end;
|
||||
extern char _heap_sentry;
|
||||
extern char _end;
|
||||
extern char _heap_sentry;
|
||||
static char * _heap_sentry_ptr = &_heap_sentry;
|
||||
static char * heap_ptr;
|
||||
char * base;
|
||||
char * base;
|
||||
|
||||
if( !heap_ptr )
|
||||
{
|
||||
heap_ptr = ( char * ) &_end;
|
||||
}
|
||||
|
||||
base = heap_ptr;
|
||||
base = heap_ptr;
|
||||
|
||||
if( heap_ptr + incr >= _heap_sentry_ptr )
|
||||
{
|
||||
|
@ -137,7 +137,7 @@
|
|||
#include "semphr.h"
|
||||
|
||||
static SemaphoreHandle_t xClibMutex;
|
||||
static uint32_t ulClibInitDone = 0;
|
||||
static uint32_t ulClibInitDone = 0;
|
||||
|
||||
/*----------------------------------------------------------------------------- */
|
||||
/* Get C library lock. */
|
||||
|
@ -189,18 +189,18 @@
|
|||
void * _sbrk_r( struct _reent * reent,
|
||||
int32_t incr )
|
||||
{
|
||||
extern char _end;
|
||||
extern char _heap_sentry;
|
||||
extern char _end;
|
||||
extern char _heap_sentry;
|
||||
static char * _heap_sentry_ptr = &_heap_sentry;
|
||||
static char * heap_ptr;
|
||||
char * base;
|
||||
char * base;
|
||||
|
||||
if( !heap_ptr )
|
||||
{
|
||||
heap_ptr = ( char * ) &_end;
|
||||
}
|
||||
|
||||
base = heap_ptr;
|
||||
base = heap_ptr;
|
||||
|
||||
if( heap_ptr + incr >= _heap_sentry_ptr )
|
||||
{
|
||||
|
@ -219,7 +219,7 @@
|
|||
{
|
||||
configASSERT( !ulClibInitDone );
|
||||
|
||||
xClibMutex = xSemaphoreCreateRecursiveMutex();
|
||||
xClibMutex = xSemaphoreCreateRecursiveMutex();
|
||||
ulClibInitDone = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue