[Xcb] Bug#496715: Should provide more pthread_* functions

Samuel Thibault sthibault at debian.org
Sun Nov 1 16:22:43 PST 2009


Hello,

Just an obvious fixup for the pthread_exit function, see attached patch.

Samuel
-------------- next part --------------
--- ./stubs.c.orig	2009-11-02 01:21:03.000000000 +0100
+++ ./stubs.c	2009-11-02 01:21:12.000000000 +0100
@@ -157,7 +157,7 @@
 #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


More information about the Xcb mailing list