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 /linuxthreads/weaks.c | |
parent | e6dcf35202903067d84f0da7ee997679ccf293c6 (diff) | |
download | glibc-159a2e1a65da49f65f7acd8147bebc247e904d81.tar.gz glibc-159a2e1a65da49f65f7acd8147bebc247e904d81.tar.xz glibc-159a2e1a65da49f65f7acd8147bebc247e904d81.zip |
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 'linuxthreads/weaks.c')
-rw-r--r-- | linuxthreads/weaks.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linuxthreads/weaks.c b/linuxthreads/weaks.c index 948b893095..036e004612 100644 --- a/linuxthreads/weaks.c +++ b/linuxthreads/weaks.c @@ -1,5 +1,5 @@ /* The weak pthread functions for Linux. - Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -26,7 +26,8 @@ extern int __pthread_return_0 (void); extern int __pthread_return_1 (void); extern void __pthread_return_void (void); -extern void weak_function pthread_exit (void *__retval); +extern void weak_function pthread_exit (void *__retval) + __attribute__ ((noreturn)); /* Those are pthread functions which return 0 if successful. */ weak_alias (__pthread_return_0, BP_SYM (__libc_pthread_attr_init_2_1)) |