diff options
author | Jim Meyering <meyering@redhat.com> | 2010-02-10 12:31:55 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-02-10 12:31:55 +0100 |
commit | 8751672163405024bbd75f6e9109dd5b4dbe4ad2 (patch) | |
tree | 2743b9d3bc621620db56c8dcd292ae43d12c5770 /top | |
parent | 1d27f2ae7983295480d2313d3b2a631f9962840a (diff) | |
download | gnulib-8751672163405024bbd75f6e9109dd5b4dbe4ad2.tar.gz |
maint.mk: prohibit inclusion of "ignore-value.h" without_use
* top/maint.mk (sc_prohibit_ignore_value_without_use): New rule.
Diffstat (limited to 'top')
-rw-r--r-- | top/maint.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/top/maint.mk b/top/maint.mk index f9eed6aa55..ed8d367806 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -334,6 +334,11 @@ sc_prohibit_inttostr_without_use: $(_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)? *\('\ |