Mercurial > gnulib
diff top/maint.mk @ 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 | d844fd639561 |
children | 8fd1fe5e9683 |
line wrap: on
line diff
--- a/top/maint.mk Mon Feb 08 15:07:14 2010 -0700 +++ b/top/maint.mk Wed Feb 10 12:31:55 2010 +0100 @@ -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)? *\('\