aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/weaks.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/weaks.c')
-rw-r--r--linuxthreads/weaks.c5
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))