summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--cfg.mk2
-rw-r--r--lib/fpending.h4
3 files changed, 9 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 1de58990eb..21db37794c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-07-15 Bruno Haible <bruno@clisp.org>
+
+ 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 <eggert@cs.ucla.edu>
pthread_sigmask: fix bug on FreeBSD 9
diff --git a/cfg.mk b/cfg.mk
index bf59024474..ba2126c820 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 5b5d71c024..0365287ba7 100644
--- a/lib/fpending.h
+++ b/lib/fpending.h
@@ -21,10 +21,6 @@
#include <stddef.h>
#include <stdio.h>
-#ifndef HAVE_DECL___FPENDING
-"this configure-time declaration test was not run"
-#endif
-
#if HAVE_DECL___FPENDING
# if HAVE_STDIO_EXT_H
# include <stdio_ext.h>