about summary refs log tree commit diff
path: root/linuxthreads/weaks.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/weaks.c')
-rw-r--r--linuxthreads/weaks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linuxthreads/weaks.c b/linuxthreads/weaks.c
index 0ce058bb5c..d142b3d7b1 100644
--- a/linuxthreads/weaks.c
+++ b/linuxthreads/weaks.c
@@ -21,9 +21,9 @@
 #include <limits.h>
 #include <stdlib.h>
 
-extern int __pthread_return_0 __P ((void));
-extern int __pthread_return_1 __P ((void));
-extern void __pthread_return_void __P ((void));
+extern int __pthread_return_0 (void) __THROW;
+extern int __pthread_return_1 (void) __THROW;
+extern void __pthread_return_void (void) __THROW;
 
 /* Those are pthread functions which return 0 if successful. */
 #if defined HAVE_ELF && defined PIC && defined DO_VERSIONING