From 357876052b125dcd74882f61afec19d8f519074c Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 6 Aug 2011 20:20:23 -0400 Subject: simplify multi-threaded errno, eliminate useless function pointer --- src/internal/libc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/internal/libc.h') diff --git a/src/internal/libc.h b/src/internal/libc.h index 07ed70cd..b81c9ae7 100644 --- a/src/internal/libc.h +++ b/src/internal/libc.h @@ -5,7 +5,7 @@ #include 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; }; -- cgit v1.2.1