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:
parent
000b944a78
commit
a5ffc6dc73
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue