projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f4aaaf7
)
ifq: Move ifq_set_maxlen declaration to the declaration code block
author
Sepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 27 Dec 2012 12:42:24 +0000 (20:42 +0800)
committer
Sepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 27 Dec 2012 12:42:24 +0000 (20:42 +0800)
sys/net/ifq_var.h
patch
|
blob
|
blame
|
history
diff --git
a/sys/net/ifq_var.h
b/sys/net/ifq_var.h
index
e31b402
..
4b931c8
100644
(file)
--- a/
sys/net/ifq_var.h
+++ b/
sys/net/ifq_var.h
@@
-75,6
+75,7
@@
struct mbuf *ifq_classic_dequeue(struct ifaltq *, struct mbuf *, int);
int ifq_classic_request(struct ifaltq *, int, void *);
void ifq_set_classic(struct ifaltq *);
+void ifq_set_maxlen(struct ifaltq *, int);
int ifq_dispatch(struct ifnet *, struct mbuf *,
struct altq_pktattr *);
@@
-298,8
+299,6
@@
ifq_is_empty(struct ifaltq *_ifq)
return(_ifq->ifq_len == 0);
}
-void ifq_set_maxlen(struct ifaltq *_ifq, int _len);
-
static __inline int
ifq_data_ready(struct ifaltq *_ifq)
{