summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-11-27 21:17:57 +0100
committerDavid Lamparter <equinox@diac24.net>2019-12-13 06:22:34 +0100
commit1b3e9a21dd4af572deed0d40dd26c8d041e94eae (patch)
tree11c64fb3a22924562484aac931d153c870627b13 /lib/if.c
parent33de8d1dd02dfb53f125c8213c896bc62f6c6d8e (diff)
lib: make some variables static
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/if.c')
-rw-r--r--lib/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if.c b/lib/if.c
index 31c1d9e8ba..c91407084e 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -58,7 +58,7 @@ DEFINE_QOBJ_TYPE(interface)
DEFINE_HOOK(if_add, (struct interface * ifp), (ifp))
DEFINE_KOOH(if_del, (struct interface * ifp), (ifp))
-struct interface_master{
+static struct interface_master{
int (*create_hook)(struct interface *ifp);
int (*up_hook)(struct interface *ifp);
int (*down_hook)(struct interface *ifp);