summaryrefslogtreecommitdiff
path: root/tools/virt-admin.h
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2018-12-13 14:53:50 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2018-12-14 10:47:13 +0000
commit568a417224e7b4656b9959b03154d45566480d65 (patch)
tree66b75820f39f352933581634d3d16e55a3431b67 /tools/virt-admin.h
parent4cfd7090212cbe38572274a7fff2475f4f8e87b7 (diff)
downloadlibvirt-568a417224e7b4656b9959b03154d45566480d65.tar.gz
Enforce a standard header file guard symbol name
Require that all headers are guarded by a symbol named LIBVIRT_$FILENAME where $FILENAME is the uppercased filename, with all characters outside a-z changed into '_'. Note we do not use a leading __ because that is technically a namespace reserved for the toolchain. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'tools/virt-admin.h')
-rw-r--r--tools/virt-admin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/virt-admin.h b/tools/virt-admin.h
index 62228ccab1..de5a65ebdc 100644
--- a/tools/virt-admin.h
+++ b/tools/virt-admin.h
@@ -20,8 +20,8 @@
* Erik Skultety <eskultet@redhat.com>
*/
-#ifndef VIRT_ADMIN_H
-# define VIRT_ADMIN_H
+#ifndef LIBVIRT_VIRT_ADMIN_H
+# define LIBVIRT_VIRT_ADMIN_H
# include "internal.h"
# include "vsh.h"
@@ -43,4 +43,4 @@ struct _vshAdmControl {
bool wantReconnect;
};
-#endif /* VIRT_ADMIN_H */
+#endif /* LIBVIRT_VIRT_ADMIN_H */