FYI, >From 8751672163405024bbd75f6e9109dd5b4dbe4ad2 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyer...@redhat.com> Date: Wed, 10 Feb 2010 12:31:55 +0100 Subject: [PATCH] maint.mk: prohibit inclusion of "ignore-value.h" without_use
* top/maint.mk (sc_prohibit_ignore_value_without_use): New rule. --- ChangeLog | 5 +++++ top/maint.mk | 5 +++++ 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 928d846..c382d58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-02-10 Jim Meyering <meyer...@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 <e...@byu.net> and Bruno Haible <br...@clisp.org> diff --git a/top/maint.mk b/top/maint.mk index f9eed6a..ed8d367 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)? *\('\ -- 1.7.0.rc2.170.gbc565