summaryrefslogtreecommitdiff
path: root/src/rpc/virnetclient.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 /src/rpc/virnetclient.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 'src/rpc/virnetclient.h')
-rw-r--r--src/rpc/virnetclient.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rpc/virnetclient.h b/src/rpc/virnetclient.h
index 80ca3bf8db..39a6176d3e 100644
--- a/src/rpc/virnetclient.h
+++ b/src/rpc/virnetclient.h
@@ -18,8 +18,8 @@
* <http://www.gnu.org/licenses/>.
*/
-#ifndef __VIR_NET_CLIENT_H__
-# define __VIR_NET_CLIENT_H__
+#ifndef LIBVIRT_VIRNETCLIENT_H
+# define LIBVIRT_VIRNETCLIENT_H
# ifdef WITH_GNUTLS
# include "virnettlscontext.h"
@@ -148,4 +148,4 @@ int virNetClientKeepAliveStart(virNetClientPtr client,
void virNetClientKeepAliveStop(virNetClientPtr client);
-#endif /* __VIR_NET_CLIENT_H__ */
+#endif /* LIBVIRT_VIRNETCLIENT_H */