From a2bd376d901e1f5661554a933a2b0aa457549c9d Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 15 Sep 2015 22:09:30 -0700 Subject: [PATCH] zebra/if_ioctl_solaris: Make foo static make interface_ioctl_ioctl() and if_get_index() static Signed-off-by: David Lamparter (cherry picked from commit 7904509bdf9ec7fad3ac1aee763ae39e7c308c52) --- zebra/if_ioctl_solaris.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zebra/if_ioctl_solaris.c b/zebra/if_ioctl_solaris.c index 79137ccd37..02494bc07d 100644 --- a/zebra/if_ioctl_solaris.c +++ b/zebra/if_ioctl_solaris.c @@ -41,7 +41,7 @@ static int if_get_addr (struct interface *, struct sockaddr *, const char *); static void interface_info_ioctl (struct interface *); extern struct zebra_privs_t zserv_privs; -int +static int interface_list_ioctl (int af) { int ret; @@ -210,7 +210,7 @@ end: } /* Get interface's index by ioctl. */ -int +static int if_get_index (struct interface *ifp) { int ret; -- 2.39.5