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
79f2a550
Commit
79f2a550
authored
Jan 05, 2003
by
Arnd Bergmann
Committed by
Hideaki Yoshifuji
Jan 05, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET-DV]: Add some missing statics.
parent
b587a963
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
net/core/dv.c
net/core/dv.c
+3
-3
No files found.
net/core/dv.c
View file @
79f2a550
...
...
@@ -97,7 +97,7 @@ void free_divert_blk(struct net_device *dev)
/*
* Adds a tcp/udp (source or dest) port to an array
*/
int
add_port
(
u16
ports
[],
u16
port
)
static
int
add_port
(
u16
ports
[],
u16
port
)
{
int
i
;
...
...
@@ -127,7 +127,7 @@ int add_port(u16 ports[], u16 port)
/*
* Removes a port from an array tcp/udp (source or dest)
*/
int
remove_port
(
u16
ports
[],
u16
port
)
static
int
remove_port
(
u16
ports
[],
u16
port
)
{
int
i
;
...
...
@@ -150,7 +150,7 @@ int remove_port(u16 ports[], u16 port)
}
/* Some basic sanity checks on the arguments passed to divert_ioctl() */
int
check_args
(
struct
divert_cf
*
div_cf
,
struct
net_device
**
dev
)
static
int
check_args
(
struct
divert_cf
*
div_cf
,
struct
net_device
**
dev
)
{
char
devname
[
32
];
int
ret
;
...
...
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