summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_eiface.c
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2004-07-04 16:11:03 +0000
committerstefanf <stefanf@FreeBSD.org>2004-07-04 16:11:03 +0000
commit9dea8aeba1c4f733fc95d1dfd11cfc8d3092a654 (patch)
tree0e3fe3a61275cb24fb693e8710ebc6420adf5306 /sys/netgraph/ng_eiface.c
parentc8bc9c77afa1fbbf704376606a236020afdfba8e (diff)
downloadFreeBSD-src-9dea8aeba1c4f733fc95d1dfd11cfc8d3092a654.zip
FreeBSD-src-9dea8aeba1c4f733fc95d1dfd11cfc8d3092a654.tar.gz
Consistently use __inline instead of __inline__ as the former is an empty macro
in <sys/cdefs.h> for compilers without support for inline.
Diffstat (limited to 'sys/netgraph/ng_eiface.c')
-rw-r--r--sys/netgraph/ng_eiface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_eiface.c b/sys/netgraph/ng_eiface.c
index aad1365..6a7d536 100644
--- a/sys/netgraph/ng_eiface.c
+++ b/sys/netgraph/ng_eiface.c
@@ -127,7 +127,7 @@ static int ng_units_in_use = 0;
* Find the first free unit number for a new interface.
* Increase the size of the unit bitmap as necessary.
*/
-static __inline__ int
+static __inline int
ng_eiface_get_unit(int *unit)
{
int index, bit;
@@ -163,7 +163,7 @@ ng_eiface_get_unit(int *unit)
/*
* Free a no longer needed unit number.
*/
-static __inline__ void
+static __inline void
ng_eiface_free_unit(int unit)
{
int index, bit;
OpenPOWER on IntegriCloud