mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
nwfilter: make some gentech driver methods static
The virNWFilterTechDriverForName & virNWFilterUpdateInstantiateFilter methods are only used within the same source file, so don't need to be exported. Reviewed-by: Laine Stump <laine@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
d053b8e6cf
commit
fd08bf2095
@ -99,7 +99,7 @@ void virNWFilterTechDriversShutdown(void)
|
||||
}
|
||||
|
||||
|
||||
virNWFilterTechDriver *
|
||||
static virNWFilterTechDriver *
|
||||
virNWFilterTechDriverForName(const char *name)
|
||||
{
|
||||
size_t i = 0;
|
||||
@ -791,7 +791,7 @@ virNWFilterInstantiateFilter(virNWFilterDriverState *driver,
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
static int
|
||||
virNWFilterUpdateInstantiateFilter(virNWFilterDriverState *driver,
|
||||
virNWFilterBindingDef *binding,
|
||||
bool *skipIface)
|
||||
|
@ -26,8 +26,6 @@
|
||||
#include "virnwfilterbindingdef.h"
|
||||
#include "nwfilter_tech_driver.h"
|
||||
|
||||
virNWFilterTechDriver *virNWFilterTechDriverForName(const char *name);
|
||||
|
||||
int virNWFilterTechDriversInit(bool privileged);
|
||||
void virNWFilterTechDriversShutdown(void);
|
||||
|
||||
@ -39,9 +37,6 @@ enum instCase {
|
||||
|
||||
int virNWFilterInstantiateFilter(virNWFilterDriverState *driver,
|
||||
virNWFilterBindingDef *binding);
|
||||
int virNWFilterUpdateInstantiateFilter(virNWFilterDriverState *driver,
|
||||
virNWFilterBindingDef *binding,
|
||||
bool *skipIface);
|
||||
|
||||
int virNWFilterInstantiateFilterLate(virNWFilterDriverState *driver,
|
||||
virNWFilterBindingDef *binding,
|
||||
|
Loading…
Reference in New Issue
Block a user