summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2018-04-03 13:23:03 +0200
committerGuido Günther <agx@sigxcpu.org>2018-04-03 13:23:03 +0200
commit417534b79881aab7110b65308bbabf5b38bfa599 (patch)
tree2466a8d4dd05f29cc930fcc0b6512aa745ef43e3 /cfg.mk
parent3cbbfa5784b64e54dcf9a36ee06941fd46ccf5af (diff)
New upstream version 4.2.0
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/cfg.mk b/cfg.mk
index 22de11ce4..4aa26d434 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -496,6 +496,7 @@ ctype_re = isalnum|isalpha|isascii|isblank|iscntrl|isdigit|isgraph|islower\
sc_avoid_ctype_macros:
@prohibit='\b($(ctype_re)) *\(' \
+ in_vc_files='\.[ch]$$' \
halt='use c-ctype.h instead of ctype macros' \
$(_sc_search_regexp)
@@ -1224,7 +1225,7 @@ exclude_file_name_regexp--sc_require_config_h_first = \
^(examples/|tools/virsh-edit\.c$$)
exclude_file_name_regexp--sc_trailing_blank = \
- /qemuhelpdata/|/sysinfodata/.*\.data|/virhostcpudata/.*\.cpuinfo$$
+ /qemuhelpdata/|/sysinfodata/.*\.data|/virhostcpudata/.*\.cpuinfo|^gnulib/local/.*/.*diff$$
exclude_file_name_regexp--sc_unmarked_diagnostics = \
^(docs/apibuild.py|tests/virt-aa-helper-test|docs/js/.*\.js)$$