simplify pthread tsd key handling
[musl] / src / internal / libc.h
index 60a25ef..6828f8b 100644 (file)
@@ -9,7 +9,7 @@ struct __libc {
        void (*cancelpt)(int);
        void (*lock)(volatile int *);
        void (*lockfile)(FILE *);
-       void (**tsd_keys)(void *);
+       void (*fork_handler)(int);
        void (*sigtimer)();
        int (*atexit)(void (*)(void));
        void (*fini)(void);
@@ -17,7 +17,6 @@ struct __libc {
        volatile int threads_minus_1;
        int ofl_lock;
        int (*rsyscall)(int, long, long, long, long, long, long);
-       void (*fork_handler)(int);
        FILE *ofl_head;
 };