summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_mesh.c
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2009-07-13 18:23:58 +0000
committerrpaulo <rpaulo@FreeBSD.org>2009-07-13 18:23:58 +0000
commit668bda4497376952ab3a31845903e1504ce4b02a (patch)
treed00f20e7d4551640469fe0ea14c11a35b8a00ca8 /sys/net80211/ieee80211_mesh.c
parent0db73cd7572501a23e804bba303a5cb7afd3250f (diff)
downloadFreeBSD-src-668bda4497376952ab3a31845903e1504ce4b02a.zip
FreeBSD-src-668bda4497376952ab3a31845903e1504ce4b02a.tar.gz
Fix inline function declaration and prototype.
Approved by: re (kensmith)
Diffstat (limited to 'sys/net80211/ieee80211_mesh.c')
-rw-r--r--sys/net80211/ieee80211_mesh.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/net80211/ieee80211_mesh.c b/sys/net80211/ieee80211_mesh.c
index 6e7fa8d..677c1ea 100644
--- a/sys/net80211/ieee80211_mesh.c
+++ b/sys/net80211/ieee80211_mesh.c
@@ -66,9 +66,8 @@ static int mesh_select_proto_path(struct ieee80211vap *, const char *);
static int mesh_select_proto_metric(struct ieee80211vap *, const char *);
static void mesh_vattach(struct ieee80211vap *);
static int mesh_newstate(struct ieee80211vap *, enum ieee80211_state, int);
-static __inline void
- mesh_linkchange(struct ieee80211_node *,
- enum ieee80211_mesh_mlstate);
+static void mesh_linkchange(struct ieee80211_node *,
+ enum ieee80211_mesh_mlstate);
static void mesh_checkid(void *, struct ieee80211_node *);
static uint32_t mesh_generateid(struct ieee80211vap *);
static int mesh_checkpseq(struct ieee80211vap *,
@@ -2029,7 +2028,7 @@ mesh_peer_timeout_cb(void *arg)
}
}
-static __inline int
+static int
mesh_verify_meshpeerver(struct ieee80211vap *vap, const uint8_t *ie)
{
static const uint8_t peer[4] = IEEE80211_MESHPEERVER_PEER;
@@ -2042,7 +2041,7 @@ mesh_verify_meshpeerver(struct ieee80211vap *vap, const uint8_t *ie)
return memcmp(meshpeerver->peerver_proto, peer, 4);
}
-static __inline int
+static int
mesh_verify_meshid(struct ieee80211vap *vap, const uint8_t *ie)
{
struct ieee80211_mesh_state *ms = vap->iv_mesh;
OpenPOWER on IntegriCloud