mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 03:28:31 +00:00
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:
parent
746c4f0295
commit
a2bd376d90
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user