summaryrefslogtreecommitdiff
path: root/libc/misc/gnu
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-10 16:20:23 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-10 16:20:23 +0000
commit42c1ad48fa946f00d67d0b023f50e5d6d8fc293f (patch)
treef510bb36f58711b809103832fa826b0de13df593 /libc/misc/gnu
parent7747ec45650949ca4712be8e2cbc0588c0922982 (diff)
Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, most of global data relocations are back
Diffstat (limited to 'libc/misc/gnu')
-rw-r--r--libc/misc/gnu/obstack.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libc/misc/gnu/obstack.c b/libc/misc/gnu/obstack.c
index 99311183f..5fc031555 100644
--- a/libc/misc/gnu/obstack.c
+++ b/libc/misc/gnu/obstack.c
@@ -89,7 +89,6 @@ union fooround {long x; double d;};
abort gracefully or use longjump - but shouldn't return. This
variable by default points to the internal function
`print_and_abort'. */
-libc_hidden_proto(obstack_alloc_failed_handler)
# if defined __STDC__ && __STDC__
static void print_and_abort (void);
void (*obstack_alloc_failed_handler) (void) = print_and_abort;
@@ -97,7 +96,6 @@ void (*obstack_alloc_failed_handler) (void) = print_and_abort;
static void print_and_abort ();
void (*obstack_alloc_failed_handler) () = print_and_abort;
# endif
-libc_hidden_data_def(obstack_alloc_failed_handler)
/* Exit value used when `print_and_abort' is used. */
@@ -111,14 +109,11 @@ libc_hidden_data_def(obstack_alloc_failed_handler)
libc_hidden_proto(fprintf)
libc_hidden_proto(abort)
libc_hidden_proto(exit)
-libc_hidden_proto(stderr)
#ifdef __UCLIBC_HAS_WCHAR__
libc_hidden_proto(fwprintf)
#endif
-libc_hidden_proto(obstack_exit_failure)
int obstack_exit_failure = EXIT_FAILURE;
-libc_hidden_data_def(obstack_exit_failure)
/* The non-GNU-C macros copy the obstack into this global variable
to avoid multiple evaluation. */