simplelink: wifi: avoid re-declaring pthread_self()

The normative spec says this returns `pthread_t`, not `void *`.
It's probably better to simply `#include <pthread.h>` outside
of this file explicitly (due to current non-standard prefixed
path in Zerphy) than to re-declare it with a potentially
conflicting signature.

Signed-off-by: Chris Friedt <cfriedt@meta.com>
This commit is contained in:
Chris Friedt 2022-10-30 08:25:10 -04:00 committed by Christopher Friedt
parent 000b944a78
commit a5ffc6dc73
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ extern void _SlDrvSleep(_u16 DurationInMsec);
#endif
#if defined(SL_PLATFORM_MULTI_THREADED)
extern void * pthread_self(void);
/* Note: pthread_self() previously declared here */
#endif
extern _SlReturnVal_t _SlNetAppHandleAsync_DnsGetHostByName(void *pVoidBuf);