mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
src/network: use #pragma once in headers
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
bef4af0ea4
commit
b47fccfe70
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user