use weak aliases rather than function pointers to simplify some code

This commit is contained in:
Rich Felker
2011-08-06 20:09:51 -04:00
parent 338b663ddb
commit 98acf04fc0
6 changed files with 20 additions and 9 deletions

View File

@ -6,10 +6,8 @@
struct __libc {
int *(*errno_location)(void);
void (*testcancel)(void);
int threaded;
int canceldisable;
void (*fork_handler)(int);
int (*atexit)(void (*)(void));
void (*fini)(void);
void (*ldso_fini)(void);