remove ugly warning-suppression hack from crypt - this invokes UB!
[musl] / src / internal / pthread_impl.h
index f2d0ae8..3e436ae 100644 (file)
@@ -42,12 +42,11 @@ struct pthread {
                void *pending;
        } robust_list;
        int unblock_cancel;
+       int delete_timer;
 };
 
 struct __timer {
        int timerid;
-       union sigval val;
-       void (*notify)(union sigval);
        pthread_t thread;
 };
 
@@ -88,6 +87,9 @@ int __timedwait(volatile int *, int, clockid_t, const struct timespec *, int);
 void __wait(volatile int *, volatile int *, int, int);
 void __wake(volatile int *, int, int);
 
+void __rsyscall_lock();
+void __rsyscall_unlock();
+
 #define DEFAULT_STACK_SIZE (16384-PAGE_SIZE)
 #define DEFAULT_GUARD_SIZE PAGE_SIZE