diff options
author | Andreas Jaeger <aj@suse.de> | 2001-04-21 18:41:05 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2001-04-21 18:41:05 +0000 |
commit | 159a2e1a65da49f65f7acd8147bebc247e904d81 (patch) | |
tree | 7b96beb3c7384d71bfa85518c122080d7a74b2dd /malloc/mcheck.c | |
parent | e6dcf35202903067d84f0da7ee997679ccf293c6 (diff) | |
download | glibc-159a2e1a65da49f65f7acd8147bebc247e904d81.tar.gz |
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/mcheck.c')
-rw-r--r-- | malloc/mcheck.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/malloc/mcheck.c b/malloc/mcheck.c index 9aa07a2e1f..f17bc0c0c5 100644 --- a/malloc/mcheck.c +++ b/malloc/mcheck.c @@ -1,5 +1,5 @@ /* Standard debugging hooks for `malloc'. - Copyright (C) 1990-1997, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1990-1997, 1999, 2000, 2001 Free Software Foundation, Inc. Written May 1989 by Mike Haertel. This library is free software; you can redistribute it and/or @@ -270,7 +270,8 @@ reallochook (ptr, size, caller) return (__ptr_t) (hdr + 1); } -static void mabort __P ((enum mcheck_status status)); +static void mabort __P ((enum mcheck_status status)) + __attribute__ ((noreturn)); static void mabort (status) enum mcheck_status status; |