about summary refs log tree commit diff
path: root/nptl/sysdeps/pthread
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2003-12-03 06:50:01 +0000
committerAndreas Jaeger <aj@suse.de>2003-12-03 06:50:01 +0000
commitdf1a47ae5da931eca0863246e2d81f6c1784c6c7 (patch)
tree85f6256b952b6d065cac3b469679efc9473f3dc5 /nptl/sysdeps/pthread
parent66f165c840ba06ab6229e1d88a023adebfac76de (diff)
downloadglibc-df1a47ae5da931eca0863246e2d81f6c1784c6c7.tar.gz
glibc-df1a47ae5da931eca0863246e2d81f6c1784c6c7.tar.xz
glibc-df1a47ae5da931eca0863246e2d81f6c1784c6c7.zip
Remove broken declaration.
Diffstat (limited to 'nptl/sysdeps/pthread')
-rwxr-xr-xnptl/sysdeps/pthread/configure1
-rw-r--r--nptl/sysdeps/pthread/configure.in3
2 files changed, 1 insertions, 3 deletions
diff --git a/nptl/sysdeps/pthread/configure b/nptl/sysdeps/pthread/configure
index 7fa5348957..3cbe55e14f 100755
--- a/nptl/sysdeps/pthread/configure
+++ b/nptl/sysdeps/pthread/configure
@@ -102,7 +102,6 @@ cat >>conftest.$ac_ext <<_ACEOF
 
 #include <stdio.h>
 void cl (void *a) { }
-extern c (void);
 int
 main ()
 {
diff --git a/nptl/sysdeps/pthread/configure.in b/nptl/sysdeps/pthread/configure.in
index 1e87892a95..17f18f0fbf 100644
--- a/nptl/sysdeps/pthread/configure.in
+++ b/nptl/sysdeps/pthread/configure.in
@@ -36,8 +36,7 @@ dnl Check for C cleanup handling.
   AC_CACHE_CHECK([for C cleanup handling], libc_cv_c_cleanup, [dnl
   AC_TRY_LINK([
 #include <stdio.h>
-void cl (void *a) { }
-extern c (void);], [
+void cl (void *a) { }], [
   int a __attribute__ ((cleanup (cl)));
   puts ("test")],
 libc_cv_c_cleanup=yes, libc_cv_c_cleanup=no)])