diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2004-12-14 19:22:11 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-12-14 19:22:11 -0800 |
commit | d6b595259c0991e9119aea73924b554750d60764 (patch) | |
tree | 03b4acf4358666bdf8d801a76b870d20c420c354 /net | |
parent | 962d1ca78bc977888c34dd245e1a12f4207e9d2a (diff) | |
download | history-d6b595259c0991e9119aea73924b554750d60764.tar.gz |
[PATCH] ip_conntrack_irc:parse_dcc should be static
Found by nfsim (-Wmissing-prototypes is your friend).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/netfilter/ip_conntrack_irc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/netfilter/ip_conntrack_irc.c b/net/ipv4/netfilter/ip_conntrack_irc.c index 2a048b527ec5ee..ec79c08a13fdd7 100644 --- a/net/ipv4/netfilter/ip_conntrack_irc.c +++ b/net/ipv4/netfilter/ip_conntrack_irc.c @@ -65,8 +65,8 @@ struct module *ip_conntrack_irc = THIS_MODULE; #define DEBUGP(format, args...) #endif -int parse_dcc(char *data, char *data_end, u_int32_t * ip, u_int16_t * port, - char **ad_beg_p, char **ad_end_p) +static int parse_dcc(char *data, char *data_end, u_int32_t *ip, + u_int16_t *port, char **ad_beg_p, char **ad_end_p) /* tries to get the ip_addr and port out of a dcc command return value: -1 on failure, 0 on success data pointer to first byte of DCC command data |