From 85ed801342b9da521cc797375eb72cc050940cf8 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 15 Jul 2012 23:00:48 +0200 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ cfg.mk | 2 +- lib/fpending.h | 4 ---- 3 files changed, 9 insertions(+), 5 deletions(-) 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 -- 2.11.0