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
e9fd9cdb
Commit
e9fd9cdb
authored
Jan 07, 2003
by
Andrew Morton
Committed by
James Morris
Jan 07, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV4 FIBHASH]: extern inline --> static inline.
parent
0d205ac7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
net/ipv4/fib_hash.c
net/ipv4/fib_hash.c
+3
-3
No files found.
net/ipv4/fib_hash.c
View file @
e9fd9cdb
...
@@ -137,12 +137,12 @@ static __inline__ struct fib_node * fz_chain(fn_key_t key, struct fn_zone *fz)
...
@@ -137,12 +137,12 @@ static __inline__ struct fib_node * fz_chain(fn_key_t key, struct fn_zone *fz)
return
fz
->
fz_hash
[
fn_hash
(
key
,
fz
).
datum
];
return
fz
->
fz_hash
[
fn_hash
(
key
,
fz
).
datum
];
}
}
extern
__inline__
int
fn_key_eq
(
fn_key_t
a
,
fn_key_t
b
)
static
__inline__
int
fn_key_eq
(
fn_key_t
a
,
fn_key_t
b
)
{
{
return
a
.
datum
==
b
.
datum
;
return
a
.
datum
==
b
.
datum
;
}
}
extern
__inline__
int
fn_key_leq
(
fn_key_t
a
,
fn_key_t
b
)
static
__inline__
int
fn_key_leq
(
fn_key_t
a
,
fn_key_t
b
)
{
{
return
a
.
datum
<=
b
.
datum
;
return
a
.
datum
<=
b
.
datum
;
}
}
...
@@ -703,7 +703,7 @@ FTprint("tb(%d)_delete: %d %08x/%d %d\n", tb->tb_id, r->rtm_type, rta->rta_dst ?
...
@@ -703,7 +703,7 @@ FTprint("tb(%d)_delete: %d %08x/%d %d\n", tb->tb_id, r->rtm_type, rta->rta_dst ?
return
-
ESRCH
;
return
-
ESRCH
;
}
}
extern
__inline__
int
static
__inline__
int
fn_flush_list
(
struct
fib_node
**
fp
,
int
z
,
struct
fn_hash
*
table
)
fn_flush_list
(
struct
fib_node
**
fp
,
int
z
,
struct
fn_hash
*
table
)
{
{
int
found
=
0
;
int
found
=
0
;
...
...
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