summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-nixio/src/address.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/luci-lib-nixio/src/address.c')
-rw-r--r--libs/luci-lib-nixio/src/address.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/luci-lib-nixio/src/address.c b/libs/luci-lib-nixio/src/address.c
index 0bf53caf8..6ed3e5c0e 100644
--- a/libs/luci-lib-nixio/src/address.c
+++ b/libs/luci-lib-nixio/src/address.c
@@ -153,7 +153,7 @@ int nixio__addr_write(nixio_addr *addr, struct sockaddr *saddr) {
/**
* netmask to prefix helper
*/
-int nixio__addr_prefix(struct sockaddr *saddr) {
+static int nixio__addr_prefix(struct sockaddr *saddr) {
int prefix = 0;
size_t len;
uint8_t *addr;