work around a nasty bug in linux readv syscall
[musl] / src / internal / pthread_impl.h
index f2d0ae8..0bcc54c 100644 (file)
@@ -46,8 +46,6 @@ struct pthread {
 
 struct __timer {
        int timerid;
-       union sigval val;
-       void (*notify)(union sigval);
        pthread_t thread;
 };
 
@@ -88,6 +86,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