Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
e11ab4f8
Commit
e11ab4f8
authored
May 14, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PKT_SCHED]: extern inline --> static inline
parent
b87660cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
net/sched/sch_csz.c
net/sched/sch_csz.c
+6
-6
net/sched/sch_sfq.c
net/sched/sch_sfq.c
+3
-3
No files found.
net/sched/sch_csz.c
View file @
e11ab4f8
...
...
@@ -301,8 +301,8 @@ struct csz_sched_data
#if 0
/* Scan forward */
extern __inline__
void csz_insert_finish(struct csz_head *b,
struct csz_flow *this)
static inline
void csz_insert_finish(struct csz_head *b,
struct csz_flow *this)
{
struct csz_head *f = b->fnext;
unsigned long finish = this->finish;
...
...
@@ -318,8 +318,8 @@ extern __inline__ void csz_insert_finish(struct csz_head *b,
}
#else
/* Scan backward */
extern
__inline__
void
csz_insert_finish
(
struct
csz_head
*
b
,
struct
csz_flow
*
this
)
static
inline
void
csz_insert_finish
(
struct
csz_head
*
b
,
struct
csz_flow
*
this
)
{
struct
csz_head
*
f
=
b
->
fprev
;
unsigned
long
finish
=
this
->
finish
;
...
...
@@ -339,8 +339,8 @@ extern __inline__ void csz_insert_finish(struct csz_head *b,
flow with greater start number.
*/
extern
__inline__
void
csz_insert_start
(
struct
csz_head
*
b
,
struct
csz_flow
*
this
)
static
inline
void
csz_insert_start
(
struct
csz_head
*
b
,
struct
csz_flow
*
this
)
{
struct
csz_head
*
f
=
b
->
snext
;
unsigned
long
start
=
this
->
start
;
...
...
net/sched/sch_sfq.c
View file @
e11ab4f8
...
...
@@ -166,7 +166,7 @@ static unsigned sfq_hash(struct sfq_sched_data *q, struct sk_buff *skb)
return
sfq_fold_hash
(
q
,
h
,
h2
);
}
extern
__inline__
void
sfq_link
(
struct
sfq_sched_data
*
q
,
sfq_index
x
)
static
inline
void
sfq_link
(
struct
sfq_sched_data
*
q
,
sfq_index
x
)
{
sfq_index
p
,
n
;
int
d
=
q
->
qs
[
x
].
qlen
+
SFQ_DEPTH
;
...
...
@@ -178,7 +178,7 @@ extern __inline__ void sfq_link(struct sfq_sched_data *q, sfq_index x)
q
->
dep
[
p
].
next
=
q
->
dep
[
n
].
prev
=
x
;
}
extern
__inline__
void
sfq_dec
(
struct
sfq_sched_data
*
q
,
sfq_index
x
)
static
inline
void
sfq_dec
(
struct
sfq_sched_data
*
q
,
sfq_index
x
)
{
sfq_index
p
,
n
;
...
...
@@ -193,7 +193,7 @@ extern __inline__ void sfq_dec(struct sfq_sched_data *q, sfq_index x)
sfq_link
(
q
,
x
);
}
extern
__inline__
void
sfq_inc
(
struct
sfq_sched_data
*
q
,
sfq_index
x
)
static
inline
void
sfq_inc
(
struct
sfq_sched_data
*
q
,
sfq_index
x
)
{
sfq_index
p
,
n
;
int
d
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment