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