simplify multi-threaded errno, eliminate useless function pointer

This commit is contained in:
Rich Felker
2011-08-06 20:20:23 -04:00
parent 98acf04fc0
commit 357876052b
3 changed files with 5 additions and 12 deletions

View File

@ -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;
};