diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-17 18:10:01 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-21 15:07:02 +0100 |
commit | faba3cb9ba610dcdd025f3cfc517185a4ed4b2ac (patch) | |
tree | efb1555a8c7f6ae75bf08fa82b1014745b74b39e | |
parent | c11a09e1151faa5317e7d0bf347f6379130a4efb (diff) | |
download | gnulib-faba3cb9ba610dcdd025f3cfc517185a4ed4b2ac.tar.gz |
maint: enable sc_prohibit_hash_pjw_without_use
* cfg.mk: Enable sc_prohibit_hash_pjw_without_use.
* top/maint.mk (sc_prohibit_hash_pjw_without_use): Adjust regexp
to match any use of \<hash_pjw\>, i.e., not necessarily with a
following " (".
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | cfg.mk | 1 | ||||
-rw-r--r-- | top/maint.mk | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -1,5 +1,13 @@ 2012-01-17 Jim Meyering <meyering@redhat.com> + maint: enable sc_prohibit_hash_pjw_without_use + * cfg.mk: Enable sc_prohibit_hash_pjw_without_use. + * top/maint.mk (sc_prohibit_hash_pjw_without_use): Adjust regexp + to match any use of \<hash_pjw\>, i.e., not necessarily with a + following " (". + +2012-01-17 Jim Meyering <meyering@redhat.com> + maint: enable double-word-prohibiting rule * cfg.mk (local-checks-to-skip): Enable sc_prohibit_doubled_word. Exempt three files. @@ -27,7 +27,6 @@ local-checks-to-skip = \ sc_prohibit_dirent_without_use \ sc_prohibit_error_without_use \ sc_prohibit_getopt_without_use \ - sc_prohibit_hash_pjw_without_use \ sc_prohibit_have_config_h \ sc_prohibit_intprops_without_use \ sc_prohibit_inttostr_without_use \ diff --git a/top/maint.mk b/top/maint.mk index ad6aac7ed7..2668655269 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -502,7 +502,7 @@ sc_prohibit_same_without_use: sc_prohibit_hash_pjw_without_use: @h='hash-pjw.h' \ - re='\<hash_pjw *\(' \ + re='\<hash_pjw\>' \ $(_sc_header_without_use) sc_prohibit_safe_read_without_use: |