zebra/if_ioctl_solaris: Make foo static

make interface_ioctl_ioctl() and if_get_index() static

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 7904509bdf9ec7fad3ac1aee763ae39e7c308c52)
This commit is contained in:
David Lamparter 2015-09-15 22:09:30 -07:00 committed by Daniel Walton
parent 746c4f0295
commit a2bd376d90

View File

@ -41,7 +41,7 @@ static int if_get_addr (struct interface *, struct sockaddr *, const char *);
static void interface_info_ioctl (struct interface *); static void interface_info_ioctl (struct interface *);
extern struct zebra_privs_t zserv_privs; extern struct zebra_privs_t zserv_privs;
int static int
interface_list_ioctl (int af) interface_list_ioctl (int af)
{ {
int ret; int ret;
@ -210,7 +210,7 @@ end:
} }
/* Get interface's index by ioctl. */ /* Get interface's index by ioctl. */
int static int
if_get_index (struct interface *ifp) if_get_index (struct interface *ifp)
{ {
int ret; int ret;