projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix resolution of weak symbols (hopefully right now) and vdso
[musl]
/
include
/
pthread.h
diff --git
a/include/pthread.h
b/include/pthread.h
index
5d97ebf
..
a0af20f
100644
(file)
--- a/
include/pthread.h
+++ b/
include/pthread.h
@@
-76,6
+76,9
@@
int pthread_detach(pthread_t);
void pthread_exit(void *);
int pthread_join(pthread_t, void **);
+#ifdef __GNUC__
+__attribute__((const))
+#endif
pthread_t pthread_self(void);
int pthread_equal(pthread_t, pthread_t);