This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Missing return value in nptl/..configure


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

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]