[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/8] maint: enable sc_prohibit_hash_pjw_without_use
From: |
Jim Meyering |
Subject: |
[PATCH 4/8] maint: enable sc_prohibit_hash_pjw_without_use |
Date: |
Tue, 17 Jan 2012 19:05:55 +0100 |
From: Jim Meyering <address@hidden>
* 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 " (".
---
ChangeLog | 6 ++++++
cfg.mk | 1 -
top/maint.mk | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2873ddb..a753d2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2012-01-17 Jim Meyering <address@hidden>
+ 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 " (".
+
maint: enable double-word-prohibiting rule
* cfg.mk (local-checks-to-skip): Enable sc_prohibit_doubled_word.
Exempt three files.
diff --git a/cfg.mk b/cfg.mk
index 2c6a0d1..d17dfea 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -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 ad6aac7..2668655 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:
--
1.7.9.rc1.2.gccfe4
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, (continued)
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Jim Meyering, 2012/01/18
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Eric Blake, 2012/01/21
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Jim Meyering, 2012/01/21
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Jim Meyering, 2012/01/21
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Bruno Haible, 2012/01/21
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Jim Meyering, 2012/01/21
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Eric Blake, 2012/01/23
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Paul Eggert, 2012/01/23
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Eric Blake, 2012/01/23
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Paul Eggert, 2012/01/23
[PATCH 4/8] maint: enable sc_prohibit_hash_pjw_without_use,
Jim Meyering <=
sc_prohibit_*_without_use, Bruno Haible, 2012/01/17