summaryrefslogtreecommitdiff
path: root/malloc/obstack.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-04-21 18:41:05 +0000
committerAndreas Jaeger <aj@suse.de>2001-04-21 18:41:05 +0000
commit159a2e1a65da49f65f7acd8147bebc247e904d81 (patch)
tree7b96beb3c7384d71bfa85518c122080d7a74b2dd /malloc/obstack.c
parente6dcf35202903067d84f0da7ee997679ccf293c6 (diff)
Update.
* manager.c (__pthread_manager): Add noreturn attribute. (pthread_start_thread): Likewise, remove return statement. (pthread_start_thread_event): Likewise. Add noreturn attribute for pthread_handle_exit. * weaks.c: Add noreturn attribute for pthread_exit.
Diffstat (limited to 'malloc/obstack.c')
-rw-r--r--malloc/obstack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/malloc/obstack.c b/malloc/obstack.c
index 8368f28896..fa7ef1a78b 100644
--- a/malloc/obstack.c
+++ b/malloc/obstack.c
@@ -1,5 +1,5 @@
/* obstack.c - subroutines used implicitly by object stack macros
- Copyright (C) 1988-1994,96,97,98,99,2000 Free Software Foundation, Inc.
+ Copyright (C) 1988-1994,96,97,98,99,2000,2001 Free Software Foundation, Inc.
This file is part of the GNU C Library. Its master source is NOT part of
the C library, however. The master source lives in /gd/gnu/lib.
@@ -472,6 +472,7 @@ _obstack_memory_used (h)
#endif
static void
+__attribute__ ((noreturn))
print_and_abort ()
{
fputs (_("memory exhausted"), stderr);