From: Bruno Haible Date: Sun, 15 Jul 2012 21:00:48 +0000 (+0200) Subject: fpending: Assume AC_CHECK_DECLS_ONCE invocation, like in fpending.m4. X-Git-Tag: v0.1~533 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=85ed801342b9da521cc797375eb72cc050940cf8;p=gnulib.git fpending: Assume AC_CHECK_DECLS_ONCE invocation, like in fpending.m4. * lib/fpending.h: Assume HAVE_DECL___FPENDING is defined. * cfg.mk (exclude_file_name_regexp--sc_prohibit_defined_have_decl_tests) Remove exemption for fpending.h. Suggested by Eric Blake. --- diff --git a/ChangeLog b/ChangeLog index 1de58990e..21db37794 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2012-07-15 Bruno Haible + + fpending: Assume AC_CHECK_DECLS_ONCE invocation, like in fpending.m4. + * lib/fpending.h: Assume HAVE_DECL___FPENDING is defined. + * cfg.mk (exclude_file_name_regexp--sc_prohibit_defined_have_decl_tests) + Remove exemption for fpending.h. + Suggested by Eric Blake. + 2012-07-15 Paul Eggert pthread_sigmask: fix bug on FreeBSD 9 diff --git a/cfg.mk b/cfg.mk index bf5902447..ba2126c82 100644 --- a/cfg.mk +++ b/cfg.mk @@ -79,4 +79,4 @@ exclude_file_name_regexp--sc_avoid_if_before_free = \ ^lib/($(if_before_free_basename_re_))\.c$$ exclude_file_name_regexp--sc_prohibit_defined_have_decl_tests = \ - ^lib/((error|getopt|strtoimax)\.c|(argp-namefrob|fpending|getpass)\.h)$$ + ^lib/((error|getopt|strtoimax)\.c|(argp-namefrob|getpass)\.h)$$ diff --git a/lib/fpending.h b/lib/fpending.h index 5b5d71c02..0365287ba 100644 --- a/lib/fpending.h +++ b/lib/fpending.h @@ -21,10 +21,6 @@ #include #include -#ifndef HAVE_DECL___FPENDING -"this configure-time declaration test was not run" -#endif - #if HAVE_DECL___FPENDING # if HAVE_STDIO_EXT_H # include