summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/net/if.c2
-rw-r--r--sys/net/if_var.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index cfb16aa..a3ef17d 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -176,7 +176,7 @@ ifnet_byindex(u_short idx)
return (ifp);
}
-void
+static void
ifnet_setbyindex(u_short idx, struct ifnet *ifp)
{
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index 588dead..593d9a2 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -646,7 +646,6 @@ struct ifindex_entry {
};
struct ifnet *ifnet_byindex(u_short idx);
-void ifnet_setbyindex(u_short idx, struct ifnet *ifp);
/*
* Given the index, ifaddr_byindex() returns the one and only
OpenPOWER on IntegriCloud