summaryrefslogtreecommitdiffstats
path: root/sys/net/if.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2008-08-20 05:00:18 +0000
committerthompsa <thompsa@FreeBSD.org>2008-08-20 05:00:18 +0000
commitfb39793d413da2a62c1fa0f3126c3b01e5c41e8b (patch)
treead4b77d7530b79d1f931501007295f99ea9f81c6 /sys/net/if.c
parent52ae0107c8cb0dd1425a012460d8be8a568a21ae (diff)
downloadFreeBSD-src-fb39793d413da2a62c1fa0f3126c3b01e5c41e8b.zip
FreeBSD-src-fb39793d413da2a62c1fa0f3126c3b01e5c41e8b.tar.gz
ifnet_setbyindex() is only used locally, go back to being static.
Diffstat (limited to 'sys/net/if.c')
-rw-r--r--sys/net/if.c2
1 files changed, 1 insertions, 1 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)
{
OpenPOWER on IntegriCloud