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; ...@@ -65,8 +65,8 @@ struct module *ip_conntrack_irc = THIS_MODULE;
#define DEBUGP(format, args...) #define DEBUGP(format, args...)
#endif #endif
int parse_dcc(char *data, char *data_end, u_int32_t * ip, u_int16_t * port, static int parse_dcc(char *data, char *data_end, u_int32_t *ip,
char **ad_beg_p, char **ad_end_p) 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 /* tries to get the ip_addr and port out of a dcc command
return value: -1 on failure, 0 on success return value: -1 on failure, 0 on success
data pointer to first byte of DCC command data 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