From be486b72eb0695684307e1c169b7a76337d12581 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 2 Nov 2009 01:22:43 +0100 Subject: fix pthread_exit proto Signed-off-by: Julien Danjou --- stubs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3