mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 04:55:18 +00:00
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
This commit is contained in:
parent
6d96fab9cf
commit
2a336379e0
2
cfg.mk
2
cfg.mk
@ -727,7 +727,7 @@ $(srcdir)/src/remote/remote_client_bodies.h: $(srcdir)/src/remote/remote_protoco
|
||||
$(MAKE) -C src remote/remote_client_bodies.h
|
||||
|
||||
# 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
|
||||
exclude_file_name_regexp--sc_avoid_write = \
|
||||
|
@ -24,7 +24,7 @@
|
||||
*/
|
||||
|
||||
#ifndef VIRSH_DOMAIN_H
|
||||
#define VIRSH_DOMAIN_H
|
||||
# define VIRSH_DOMAIN_H
|
||||
|
||||
# include "virsh.h"
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
#ifndef VIRSH_H
|
||||
#define VIRSH_H
|
||||
# define VIRSH_H
|
||||
|
||||
# include <stdio.h>
|
||||
# include <stdlib.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user