[libvirt] [PATCH] syntax-check: Don't check virsh.c for preprocessor indentation

Michal Privoznik mprivozn at redhat.com
Mon Jun 4 09:36:53 UTC 2012


With recent re-edit commits we have #define and #include not
indented as it ought to be from preprocessor POV. However, these
are part of a function, therefore they are indented well.
To solve this, skip preprocessor indentation check on virsh.c
---
 cfg.mk |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index 5d38137..0153024 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -830,3 +830,6 @@ exclude_file_name_regexp--sc_unmarked_diagnostics = \
   ^(docs/apibuild.py|tests/virt-aa-helper-test)$$
 
 exclude_file_name_regexp--sc_size_of_brackets = cfg.mk
+
+exclude_file_name_regexp--sc_preprocessor_indentation = \
+  ^tools/virsh.c$$
-- 
1.7.8.5




More information about the libvir-list mailing list