projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
simplify multi-threaded errno, eliminate useless function pointer
[musl]
/
src
/
internal
/
libc.h
diff --git
a/src/internal/libc.h
b/src/internal/libc.h
index
07ed70c
..
b81c9ae
100644
(file)
--- a/
src/internal/libc.h
+++ b/
src/internal/libc.h
@@
-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;
};