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:
parent
c2dfb0d05b
commit
516993d48e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181900
@ -176,7 +176,7 @@ ifnet_byindex(u_short idx)
|
||||
return (ifp);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
ifnet_setbyindex(u_short idx, struct ifnet *ifp)
|
||||
{
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user