1 #include "libc.h" 2 #include "threads_impl.h" 3 #include <threads.h> 4 __pthread_self_internal(void)5static pthread_t __pthread_self_internal(void) { 6 return __pthread_self(); 7 } 8 9 weak_alias(__pthread_self_internal, pthread_self); 10 weak_alias(__pthread_self_internal, thrd_current); 11