[PATCH] virsh: fix syntax check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oops, I pushed patches without doing syntax checks along the way.

* cfg.mk (exclude_file_name_regexp--sc_avoid_strcase): Track file
split.
* tools/virsh-domain.h (VIRSH_DOMAIN_H): Fix indentation.
* tools/virsh.h (VIRSH_H): Likewise.
---

Pushing under the build-breaker rule.

 cfg.mk               | 2 +-
 tools/virsh-domain.h | 2 +-
 tools/virsh.h        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index e9138a8..d2e54e3 100644
--- a/cfg.mk
+++ b/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 = \
diff --git a/tools/virsh-domain.h b/tools/virsh-domain.h
index 797462f..b1b7930 100644
--- a/tools/virsh-domain.h
+++ b/tools/virsh-domain.h
@@ -24,7 +24,7 @@
  */

 #ifndef VIRSH_DOMAIN_H
-#define VIRSH_DOMAIN_H
+# define VIRSH_DOMAIN_H

 # include "virsh.h"

diff --git a/tools/virsh.h b/tools/virsh.h
index 69f37cc..0b1f123 100644
--- a/tools/virsh.h
+++ b/tools/virsh.h
@@ -23,7 +23,7 @@
  */

 #ifndef VIRSH_H
-#define VIRSH_H
+# define VIRSH_H

 # include <stdio.h>
 # include <stdlib.h>
-- 
1.7.11.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]