Mercurial > hg > octave-nkf > gnulib-hg
changeset 12861:2afdfba76c99
maint.mk: prohibit inclusion of "ignore-value.h" without_use
* top/maint.mk (sc_prohibit_ignore_value_without_use): New rule.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Wed, 10 Feb 2010 12:31:55 +0100 |
parents | 1825e6a0ff37 |
children | e5c083172a5c |
files | ChangeLog top/maint.mk |
diffstat | 2 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-02-10 Jim Meyering <meyering@redhat.com> + + maint.mk: prohibit inclusion of "ignore-value.h" without_use + * top/maint.mk (sc_prohibit_ignore_value_without_use): New rule. + 2010-02-09 Eric Blake <ebb9@byu.net> and Bruno Haible <bruno@clisp.org>
--- a/top/maint.mk +++ b/top/maint.mk @@ -334,6 +334,11 @@ $(_header_without_use) # Don't include this header unless you use one of its functions. +sc_prohibit_ignore_value_without_use: + @h='"ignore-value.h"' re='\<ignore_(value|ptr) *\(' \ + $(_header_without_use) + +# Don't include this header unless you use one of its functions. sc_prohibit_error_without_use: @h='"error.h"' \ re='\<error(_at_line|_print_progname|_one_per_line|_message_count)? *\('\