mirror of
https://github.com/fluencelabs/musl
synced 2025-06-25 20:51:53 +00:00
simplify multi-threaded errno, eliminate useless function pointer
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
struct __libc {
|
||||
int *(*errno_location)(void);
|
||||
void *main_thread;
|
||||
int threaded;
|
||||
int canceldisable;
|
||||
int (*atexit)(void (*)(void));
|
||||
@ -14,7 +14,6 @@ struct __libc {
|
||||
volatile int threads_minus_1;
|
||||
int ofl_lock;
|
||||
FILE *ofl_head;
|
||||
void *main_thread;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user