diff options
Diffstat (limited to 'nptl/sysdeps/pthread/configure.in')
-rw-r--r-- | nptl/sysdeps/pthread/configure.in | 3 |
1 files changed, 1 insertions, 2 deletions
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)]) |