summaryrefslogtreecommitdiffstats
path: root/cfg.mk
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-17 10:11:13 +0100
commit369709177e47773eaa37f1fdbe8d9967b21d1133 (patch)
tree2f94051df687b07d5b35fd4b4965234edd3a38fe /cfg.mk
parent552576c7f9ccb1862bcfc9fbd5c301d775aaf90c (diff)
downloadlibguestfs-369709177e47773eaa37f1fdbe8d9967b21d1133.tar.gz
libguestfs-369709177e47773eaa37f1fdbe8d9967b21d1133.tar.xz
libguestfs-369709177e47773eaa37f1fdbe8d9967b21d1133.zip
syntax: Exclude examples from strcmp and strncmp checks (thanks Jim Meyering).
Diffstat (limited to 'cfg.mk')
-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 = \