network: make address_pool_new() static

This commit is contained in:
Yu Watanabe
2019-03-01 15:52:12 +09:00
parent 8e4fbe3f2d
commit 198afaab90
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
#include "set.h"
#include "string-util.h"
int address_pool_new(
static int address_pool_new(
Manager *m,
AddressPool **ret,
int family,
-1
View File
@@ -19,7 +19,6 @@ struct AddressPool {
LIST_FIELDS(AddressPool, address_pools);
};
int address_pool_new(Manager *m, AddressPool **ret, int family, const union in_addr_union *u, unsigned prefixlen);
int address_pool_new_from_string(Manager *m, AddressPool **ret, int family, const char *p, unsigned prefixlen);
void address_pool_free(AddressPool *p);