X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fpthread.h;h=a0af20fe38e769ad787c6ec4310b6ad49d7bb44e;hp=5d97ebf61c804c7639886f4104f6b2db57265a34;hb=2697b4e755f0ca3f0c660894eb6e906a046789bb;hpb=ddd87b2f10baf35ed32917bd488be8bf53ad0cc3 diff --git a/include/pthread.h b/include/pthread.h index 5d97ebf6..a0af20fe 100644 --- 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);