about summary refs log tree commit diff
diff options
context:
space:
mode:
-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)])