Compare commits

..

2 commits

Author SHA1 Message Date
Sudeep Mohanty
fc9ed763a5
Merge fb77de7c81 into 48a4939c9f 2025-07-09 16:29:37 +08:00
Florian La Roche
48a4939c9f
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>
2025-07-09 11:16:00 +05:30
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@
* *
* In addition to it's value, each list item contains a pointer to the next * In addition to it's value, each list item contains a pointer to the next
* item in the list (pxNext), a pointer to the list it is in (pxContainer) * item in the list (pxNext), a pointer to the list it is in (pxContainer)
* and a pointer to back to the object that contains it. These later two * and a pointer back to the object that contains it. These later two
* pointers are included for efficiency of list manipulation. There is * pointers are included for efficiency of list manipulation. There is
* effectively a two way link between the object containing the list item and * effectively a two way link between the object containing the list item and
* the list item itself. * the list item itself.

View file

@ -193,7 +193,7 @@ void prvFatalError( const char * pcCall,
} }
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/
static void prvPortSetCurrentThreadName( char * pxThreadName ) static void prvPortSetCurrentThreadName( const char * pxThreadName )
{ {
#ifdef __APPLE__ #ifdef __APPLE__
pthread_setname_np( pxThreadName ); pthread_setname_np( pxThreadName );