summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-02-07 15:06:27 +0100
committerJim Meyering <meyering@redhat.com>2010-02-07 21:08:56 +0100
commitf8a8ad71920a7406a201d02b0a0c34e3ff7a2fd7 (patch)
treeae889f7b9c1fa9062dc6e7bdf418ffae77ae4650 /cfg.mk
parentb4fb8046603e4a9c32df8cf09ecdd654bc3f4c21 (diff)
downloadgrep-f8a8ad71920a7406a201d02b0a0c34e3ff7a2fd7.tar.gz
maint: enable the prohibit_magic_number_exit syntax check
* cfg.mk (local-checks-to-skip): Remove sc_prohibit_magic_number_exit, to enable that check. * src/system.h (EXIT_TROUBLE): Define. * src/grep.c: Use symbolic names, EXIT_SUCCESS, EXIT_FAILURE, and EXIT_TROUBLE, not 0, 1, 2. * src/search.c: Likewise. * src/vms_fab.c (string): Likewise.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/cfg.mk b/cfg.mk
index a867861e..a6d9f803 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -26,7 +26,6 @@ local-checks-to-skip = \
sc_error_message_uppercase \
sc_m4_quote_check \
sc_makefile_TAB_only_indentation \
- sc_prohibit_magic_number_exit \
sc_prohibit_strcmp \
sc_space_tab \
sc_useless_cpp_parens