summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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