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:
Florian La Roche 2025-07-09 07:46:00 +02:00 committed by GitHub
parent e3a362b1d1
commit 48a4939c9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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 );