summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <sthibault@debian.org>2009-11-02 01:22:43 +0100
committerJulien Danjou <julien@danjou.info>2009-11-06 09:58:23 +0100
commitbe486b72eb0695684307e1c169b7a76337d12581 (patch)
tree248aa2b8040ac1c1a8dec8f5bc8b6c9805d549c5
parent9cd44d019cc2e01ee33f7234d0804fe42fcaa41a (diff)
fix pthread_exit protoHEADmaster
Signed-off-by: Julien Danjou <julien@danjou.info>
-rw-r--r--stubs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stubs.c b/stubs.c
index b63e2d1..962833d 100644
--- a/stubs.c
+++ b/stubs.c
@@ -157,7 +157,7 @@ int pthread_equal() __attribute__ ((weak, alias ("__pthread_equal_stub")));
#ifndef HAVE_PTHREAD_EXIT
#define NEED_EXIT_STUB
# ifdef SUPPORT_ATTRIBUTE_ALIAS
-int pthread_exit() __attribute__ ((weak, alias ("__pthread_exit_stub")));
+void pthread_exit() __attribute__ ((weak, alias ("__pthread_exit_stub")));
# else
# pragma weak pthread_exit = __pthread_exit_stub
# endif