Mercurial > hg > octave-kai > gnulib-hg
changeset 12245:86929e33bdad
maint.mk: Prohibit inclusion of "close-stream.h" without use.
* top/maint.mk (sc_prohibit_close_stream_without_use): New rule.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Thu, 05 Nov 2009 18:26:32 +0100 |
parents | 985da66e7fae |
children | b156d2d1b827 |
files | ChangeLog top/maint.mk |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +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.
--- a/top/maint.mk +++ b/top/maint.mk @@ -257,6 +257,10 @@ 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)