1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

ifnet_setbyindex() is only used locally, go back to being static.

This commit is contained in:
Andrew Thompson 2008-08-20 05:00:18 +00:00
parent c2dfb0d05b
commit 516993d48e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181900
2 changed files with 1 additions and 2 deletions

View File

@ -176,7 +176,7 @@ ifnet_byindex(u_short idx)
return (ifp);
}
void
static void
ifnet_setbyindex(u_short idx, struct ifnet *ifp)
{

View File

@ -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