Missing return value in nptl/..configure

Andreas Jaeger aj@suse.de
Sun Nov 30 19:40:00 GMT 2003


There's a missing return value in configure which breaks the test for
us (the test uses -Werror).

Ok to commit?  Or should we remove the line completly, I don't see why
it's needed at all...

Andreas

2003-11-30  Thorsten Kukuk  <kukuk@suse.de>

	* sysdeps/pthread/configure.in: Fix prototype in C cleanup
	handling test.

--- nptl/sysdeps/pthread/configure.in	17 Nov 2003 18:29:09 -0000	1.8
+++ nptl/sysdeps/pthread/configure.in	18 Nov 2003 20:30:23 -0000
@@ -37,7 +37,7 @@
   AC_TRY_LINK([
 #include <stdio.h>
 void cl (void *a) { }
-extern c (void);], [
+extern int c (void);], [
   int a __attribute__ ((cleanup (cl)));
   puts ("test")],
 libc_cv_c_cleanup=yes, libc_cv_c_cleanup=no)])

-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20031130/a10e2cd0/attachment.sig>


More information about the Libc-hacker mailing list