Commit d6b59525 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] ip_conntrack_irc:parse_dcc should be static

Found by nfsim (-Wmissing-prototypes is your friend).
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 962d1ca7
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment