diff options
author | Jim Meyering <meyering@redhat.com> | 2010-02-07 15:06:27 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-02-07 21:08:56 +0100 |
commit | f8a8ad71920a7406a201d02b0a0c34e3ff7a2fd7 (patch) | |
tree | ae889f7b9c1fa9062dc6e7bdf418ffae77ae4650 /cfg.mk | |
parent | b4fb8046603e4a9c32df8cf09ecdd654bc3f4c21 (diff) | |
download | grep-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.mk | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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 |