X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fthread%2Fpthread_once.c;h=8e8d40ae8331dad752553bac7f1ccaac8e909efa;hb=760f5d7efed4d4761875334f8c4e6398be308cc9;hp=a8f8aeb17a03995cba0ac62d75cd2d97d09ff0dc;hpb=56fbaa3bbe73f12af2bfbbcf2adb196e6f9fe264;p=musl diff --git a/src/thread/pthread_once.c b/src/thread/pthread_once.c index a8f8aeb1..8e8d40ae 100644 --- a/src/thread/pthread_once.c +++ b/src/thread/pthread_once.c @@ -8,7 +8,7 @@ static void undo(void *control) __wake(control, -1, 1); } -int __pthread_once_full(pthread_once_t *control, void (*init)(void)) +hidden int __pthread_once_full(pthread_once_t *control, void (*init)(void)) { /* Try to enter initializing state. Four possibilities: * 0 - we're the first or the other cancelled; run init