remove cruft from pthread structure (old cancellation stuff)
[musl] / src / internal / libc.h
index d6797f9..0ec3691 100644 (file)
@@ -15,7 +15,7 @@ struct __libc {
        volatile int threads_minus_1;
        int canceldisable;
        FILE *ofl_head;
-       int ofl_lock;
+       int ofl_lock[2];
 };
 
 
@@ -52,7 +52,6 @@ void __unlockfile(FILE *);
 #define UNLOCK(x) (libc.threads_minus_1 ? (__unlock(x),1) : ((void)(x),1))
 
 void __synccall(void (*)(void *), void *);
-void __synccall_wait(void);
 int __setxid(int, int, int, int);
 
 extern char **__environ;