[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/2] Enable syntax check sc_obsolete_symbols.
From: |
James Youngman |
Subject: |
[PATCH 2/2] Enable syntax check sc_obsolete_symbols. |
Date: |
Sun, 12 Jun 2011 02:42:28 +0100 |
(exclude_file_name_regexp--sc_obsolete_symbols): Don't check
build-aux/src-sniff.py.
---
ChangeLog | 4 ++++
cfg.mk | 6 ++----
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c1af90d..2be836e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,10 @@
2011-06-11 James Youngman <address@hidden>
+ Enable syntax check sc_obsolete_symbols.
+ (exclude_file_name_regexp--sc_obsolete_symbols): Don't check
+ build-aux/src-sniff.py.
+
Enable more syntax checks, eliminate useless C preprocessor parentheses
* find/defs.h: Eliminate useless parentheses in #if.
* find/find.c (safely_chdir): Likewise.
diff --git a/cfg.mk b/cfg.mk
index a799049..4c7950a 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -26,10 +26,8 @@ local-checks-to-skip += sc_makefile_at_at_check
# False positives I don't have a workaround for yet.
# sc_space_tab: several .xo test output files contain this sequence
# for testing xargs's handling of white space.
-local-checks-to-skip += sc_obsolete_symbols \
- sc_space_tab
-
-
+local-checks-to-skip += sc_space_tab
+exclude_file_name_regexp--sc_obsolete_symbols = build-aux/src-sniff\.py
# Skip sc_two_space_separator_in_usage because it reflects the requirements
# of help2man. It gets run on files that are not help2man inputs, and in
--
1.7.2.5