mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-08 12:41:29 +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/>.
|
* <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBVIRT_BRIDGE_DRIVER_H
|
#pragma once
|
||||||
# define LIBVIRT_BRIDGE_DRIVER_H
|
|
||||||
|
|
||||||
# include "internal.h"
|
#include "internal.h"
|
||||||
# include "domain_conf.h"
|
#include "domain_conf.h"
|
||||||
# include "vircommand.h"
|
#include "vircommand.h"
|
||||||
# include "virdnsmasq.h"
|
#include "virdnsmasq.h"
|
||||||
# include "virnetworkobj.h"
|
#include "virnetworkobj.h"
|
||||||
|
|
||||||
int
|
int
|
||||||
networkRegister(void);
|
networkRegister(void);
|
||||||
@ -37,5 +36,3 @@ networkDnsmasqConfContents(virNetworkObjPtr obj,
|
|||||||
char **configstr,
|
char **configstr,
|
||||||
dnsmasqContext *dctx,
|
dnsmasqContext *dctx,
|
||||||
dnsmasqCapsPtr caps);
|
dnsmasqCapsPtr caps);
|
||||||
|
|
||||||
#endif /* LIBVIRT_BRIDGE_DRIVER_H */
|
|
||||||
|
@ -19,14 +19,13 @@
|
|||||||
* <http://www.gnu.org/licenses/>.
|
* <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBVIRT_BRIDGE_DRIVER_PLATFORM_H
|
#pragma once
|
||||||
# define LIBVIRT_BRIDGE_DRIVER_PLATFORM_H
|
|
||||||
|
|
||||||
# include "internal.h"
|
#include "internal.h"
|
||||||
# include "virthread.h"
|
#include "virthread.h"
|
||||||
# include "virdnsmasq.h"
|
#include "virdnsmasq.h"
|
||||||
# include "virnetworkobj.h"
|
#include "virnetworkobj.h"
|
||||||
# include "object_event.h"
|
#include "object_event.h"
|
||||||
|
|
||||||
/* Main driver state */
|
/* Main driver state */
|
||||||
struct _virNetworkDriverState {
|
struct _virNetworkDriverState {
|
||||||
@ -66,5 +65,3 @@ int networkCheckRouteCollision(virNetworkDefPtr def);
|
|||||||
int networkAddFirewallRules(virNetworkDefPtr def);
|
int networkAddFirewallRules(virNetworkDefPtr def);
|
||||||
|
|
||||||
void networkRemoveFirewallRules(virNetworkDefPtr def);
|
void networkRemoveFirewallRules(virNetworkDefPtr def);
|
||||||
|
|
||||||
#endif /* LIBVIRT_BRIDGE_DRIVER_PLATFORM_H */
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user