From 2c8a62a7a212a409685307fbf03316ba84c9c936 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 17 Sep 2012 10:10:17 +0100 Subject: syntax: Exclude examples from strcmp and strncmp checks (thanks Jim Meyering). (cherry picked from commit 369709177e47773eaa37f1fdbe8d9967b21d1133) --- cfg.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cfg.mk b/cfg.mk index cedfac78..4e5a9d6c 100644 --- a/cfg.mk +++ b/cfg.mk @@ -30,6 +30,8 @@ exclude_file_name_regexp--sc_error_message_period = ^php/ exclude_file_name_regexp--sc_prohibit_always-defined_macros = ^examples/ exclude_file_name_regexp--sc_prohibit_doubled_word = ^po/ exclude_file_name_regexp--sc_prohibit_magic_number_exit = ^(po|po-docs)/|\.pod$ +exclude_file_name_regexp--sc_prohibit_strcmp = ^examples/ +exclude_file_name_regexp--sc_prohibit_strcmp_and_strncmp = ^examples/ # Tests not to run as part of "make distcheck". local-checks-to-skip = \ -- cgit