summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-09-17 10:10:17 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-09-19 14:12:26 +0100
commit2c8a62a7a212a409685307fbf03316ba84c9c936 (patch)
tree57abeb014084fdfff6447eb33878e6bf0d11f77d
parent76010c26efe9fd40c5f7011f49eb8ac463a87234 (diff)
downloadlibguestfs-2c8a62a7a212a409685307fbf03316ba84c9c936.tar.gz
libguestfs-2c8a62a7a212a409685307fbf03316ba84c9c936.tar.xz
libguestfs-2c8a62a7a212a409685307fbf03316ba84c9c936.zip
syntax: Exclude examples from strcmp and strncmp checks (thanks Jim Meyering).
(cherry picked from commit 369709177e47773eaa37f1fdbe8d9967b21d1133)
-rw-r--r--cfg.mk2
1 files changed, 2 insertions, 0 deletions
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 = \