aboutsummaryrefslogtreecommitdiffstats
path: root/libc/include/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/pthread.h')
-rw-r--r--libc/include/pthread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/include/pthread.h b/libc/include/pthread.h
index f4591f1a0..6407a1991 100644
--- a/libc/include/pthread.h
+++ b/libc/include/pthread.h
@@ -146,6 +146,7 @@ void pthread_exit(void * retval);
int pthread_join(pthread_t thid, void ** ret_val);
int pthread_detach(pthread_t thid);
+__attribute__((const))
pthread_t pthread_self(void);
int pthread_equal(pthread_t one, pthread_t two);