changeset 16995:cc9be652c57c

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.
author Bruno Haible <bruno@clisp.org>
date Sun, 15 Jul 2012 23:00:48 +0200
parents 07495c580e2e
children f6ae6de0b7a4
files ChangeLog cfg.mk lib/fpending.h
diffstat 3 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/cfg.mk
+++ b/cfg.mk
@@ -79,4 +79,4 @@
   ^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)$$
--- 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>