Signed-off-by: Jonathon Jongsma <jjongsma(a)redhat.com>
---
src/network/bridge_driver.h | 15 ++++++---------
src/network/bridge_driver_platform.h | 15 ++++++---------
2 files changed, 12 insertions(+), 18 deletions(-)
diff --git a/src/network/bridge_driver.h b/src/network/bridge_driver.h
index 44c79f555e..7357c1754c 100644
--- a/src/network/bridge_driver.h
+++ b/src/network/bridge_driver.h
@@ -19,14 +19,13 @@
* <
http://www.gnu.org/licenses/>.
*/
-#ifndef LIBVIRT_BRIDGE_DRIVER_H
-# define LIBVIRT_BRIDGE_DRIVER_H
+#pragma once
-# include "internal.h"
-# include "domain_conf.h"
-# include "vircommand.h"
-# include "virdnsmasq.h"
-# include "virnetworkobj.h"
+#include "internal.h"
+#include "domain_conf.h"
+#include "vircommand.h"
+#include "virdnsmasq.h"
+#include "virnetworkobj.h"
int
networkRegister(void);
@@ -37,5 +36,3 @@ networkDnsmasqConfContents(virNetworkObjPtr obj,
char **configstr,
dnsmasqContext *dctx,
dnsmasqCapsPtr caps);
-
-#endif /* LIBVIRT_BRIDGE_DRIVER_H */
diff --git a/src/network/bridge_driver_platform.h b/src/network/bridge_driver_platform.h
index 5f534fc132..1efa0d2af4 100644
--- a/src/network/bridge_driver_platform.h
+++ b/src/network/bridge_driver_platform.h
@@ -19,14 +19,13 @@
* <
http://www.gnu.org/licenses/>.
*/
-#ifndef LIBVIRT_BRIDGE_DRIVER_PLATFORM_H
-# define LIBVIRT_BRIDGE_DRIVER_PLATFORM_H
+#pragma once
-# include "internal.h"
-# include "virthread.h"
-# include "virdnsmasq.h"
-# include "virnetworkobj.h"
-# include "object_event.h"
+#include "internal.h"
+#include "virthread.h"
+#include "virdnsmasq.h"
+#include "virnetworkobj.h"
+#include "object_event.h"
/* Main driver state */
struct _virNetworkDriverState {
@@ -66,5 +65,3 @@ int networkCheckRouteCollision(virNetworkDefPtr def);
int networkAddFirewallRules(virNetworkDefPtr def);
void networkRemoveFirewallRules(virNetworkDefPtr def);
-
-#endif /* LIBVIRT_BRIDGE_DRIVER_PLATFORM_H */
--
2.20.1