diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-26 14:14:05 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-26 14:14:05 +0000 |
commit | f3b4c74b53903b32d1b852b381ae22b140b7b05b (patch) | |
tree | b6adc3094d207688bce66a702523dc3597ff244e /libc/stdlib | |
parent | 83b2918ebe75fe7c3ee54c3a33bd8cc10234db8c (diff) |
100 JUMP relocs less (remaining 431) by hiding internally used ones
Diffstat (limited to 'libc/stdlib')
-rw-r--r-- | libc/stdlib/atexit.c | 4 | ||||
-rw-r--r-- | libc/stdlib/valloc.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libc/stdlib/atexit.c b/libc/stdlib/atexit.c index e9710b038..a01fb29e2 100644 --- a/libc/stdlib/atexit.c +++ b/libc/stdlib/atexit.c @@ -95,7 +95,7 @@ extern struct exit_function *__exit_function_table; #else extern struct exit_function __exit_function_table[__UCLIBC_MAX_ATEXIT]; #endif -extern struct exit_function *__new_exitfn (void); +extern struct exit_function *__new_exitfn (void) attribute_hidden; /* this is in the L___cxa_atexit object */ extern int __cxa_atexit (cxaefuncp, void *arg, void *dso_handle); @@ -237,7 +237,7 @@ struct exit_function __exit_function_table[__UCLIBC_MAX_ATEXIT]; * Find and return a new exit_function pointer, for atexit, * onexit and __cxa_atexit to initialize */ -struct exit_function *__new_exitfn(void) +struct exit_function attribute_hidden *__new_exitfn(void) { struct exit_function *efp; diff --git a/libc/stdlib/valloc.c b/libc/stdlib/valloc.c index b008ac399..c1d6d29a5 100644 --- a/libc/stdlib/valloc.c +++ b/libc/stdlib/valloc.c @@ -20,6 +20,8 @@ Cambridge, MA 02139, USA. The author may be reached (Email) at the address mike@@ai.mit.edu, or (US mail) as Mike Haertel c/o Free Software Foundation. */ +#define getpagesize __libc_getpagesize + #include <stdlib.h> #include <unistd.h> #include <malloc.h> |