提交 2a336379 编写于 作者: D Daniel P. Berrange

Fix syntax-check failures wrt virsh

* cfg.mk: Whitelist virsh.h instead of virsh.c for strcasecmp check
* tools/virsh-domain.h, tools/virsh.h: Fix #define indentation
上级 6d96fab9
...@@ -727,7 +727,7 @@ $(srcdir)/src/remote/remote_client_bodies.h: $(srcdir)/src/remote/remote_protoco ...@@ -727,7 +727,7 @@ $(srcdir)/src/remote/remote_client_bodies.h: $(srcdir)/src/remote/remote_protoco
$(MAKE) -C src remote/remote_client_bodies.h $(MAKE) -C src remote/remote_client_bodies.h
# List all syntax-check exemptions: # List all syntax-check exemptions:
exclude_file_name_regexp--sc_avoid_strcase = ^tools/virsh\.c$$ exclude_file_name_regexp--sc_avoid_strcase = ^tools/virsh\.h$$
_src1=libvirt|fdstream|qemu/qemu_monitor|util/(command|util)|xen/xend_internal|rpc/virnetsocket|lxc/lxc_controller _src1=libvirt|fdstream|qemu/qemu_monitor|util/(command|util)|xen/xend_internal|rpc/virnetsocket|lxc/lxc_controller
exclude_file_name_regexp--sc_avoid_write = \ exclude_file_name_regexp--sc_avoid_write = \
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
*/ */
#ifndef VIRSH_DOMAIN_H #ifndef VIRSH_DOMAIN_H
#define VIRSH_DOMAIN_H # define VIRSH_DOMAIN_H
# include "virsh.h" # include "virsh.h"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
*/ */
#ifndef VIRSH_H #ifndef VIRSH_H
#define VIRSH_H # define VIRSH_H
# include <stdio.h> # include <stdio.h>
# include <stdlib.h> # include <stdlib.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册