* top/maint.mk (sc_prohibit_close_stream_without_use): New rule.
+2009-11-05 Jim Meyering <meyering@redhat.com>
+
+ maint.mk: Prohibit inclusion of "close-stream.h" without use.
+ * top/maint.mk (sc_prohibit_close_stream_without_use): New rule.
+
2009-11-05 Simon Josefsson <simon@josefsson.org>
* modules/pmccabe2html (configure.ac): Check for pmccabe tool.
sc_prohibit_assert_without_use:
@h='<assert.h>' re='\<assert *\(' $(_header_without_use)
+# Prohibit the inclusion of close-stream.h without an actual use.
+sc_prohibit_close_stream_without_use:
+ @h='"close-stream.h"' re='\<close_stream *\(' $(_header_without_use)
+
# Prohibit the inclusion of getopt.h without an actual use.
sc_prohibit_getopt_without_use:
@h='<getopt.h>' re='\<getopt(_long)? *\(' $(_header_without_use)