[Xcb] Bug#622148: libpthread-stubs: Fix pthread_exit() prototype
Samuel Thibault
sthibault at debian.org
Sun Apr 10 07:40:46 PDT 2011
Package: libpthread-stubs
Version: 0.3-2
Severity: important
Tags: patch
Hello,
The pthread_exit() prototype is bogus in stubs.c and makes
libpthread-stubs FTBFS on hurd-i386: it should return void, see attached
patch.
Samuel
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
-------------- next part --------------
--- stubs.c.original 2011-04-10 16:39:09.000000000 +0200
+++ stubs.c 2011-04-10 16:39:20.000000000 +0200
@@ -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