mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-11-16 12:34:29 +00:00
Fix compiler warning (#1291)
- In list.h fix a typo in comments. - In portable/ThirdParty/GCC/Posix/port.c fix compiler warning about "gcc -Wwrite-strings". Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com> Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
This commit is contained in:
2
portable/ThirdParty/GCC/Posix/port.c
vendored
2
portable/ThirdParty/GCC/Posix/port.c
vendored
@@ -193,7 +193,7 @@ void prvFatalError( const char * pcCall,
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
static void prvPortSetCurrentThreadName( char * pxThreadName )
|
||||
static void prvPortSetCurrentThreadName( const char * pxThreadName )
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
pthread_setname_np( pxThreadName );
|
||||
|
||||
Reference in New Issue
Block a user