提交 b47fccfe 编写于 作者: J Jonathon Jongsma 提交者: Ján Tomko

src/network: use #pragma once in headers

Signed-off-by: NJonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
Signed-off-by: NJán Tomko <jtomko@redhat.com>
上级 bef4af0e
......@@ -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 */
......@@ -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 */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册