summaryrefslogtreecommitdiff
path: root/usr.sbin/mrouted
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-26 19:47:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-26 19:47:11 +0000
commit7a14bc5682258d5115d7b31007e360bed6a6e64c (patch)
tree51f9456e5d30d3776b1afcf96fde1858fb0d85c6 /usr.sbin/mrouted
parent5c9e03e42bdf196412f7cdad89ef38833f6cdf37 (diff)
strict proto cleanups
Diffstat (limited to 'usr.sbin/mrouted')
-rw-r--r--usr.sbin/mrouted/defs.h4
-rw-r--r--usr.sbin/mrouted/vif.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/mrouted/defs.h b/usr.sbin/mrouted/defs.h
index 03a50cab947..acbd455afc9 100644
--- a/usr.sbin/mrouted/defs.h
+++ b/usr.sbin/mrouted/defs.h
@@ -250,6 +250,10 @@ extern void accept_g_ack(u_int32_t src, u_int32_t dst, char *p,
/* u_int is promoted u_char */
extern void accept_mtrace(u_int32_t src, u_int32_t dst,
u_int32_t group, char *data, u_int no, int datalen);
+extern void accept_info_request(u_int32_t src, u_int32_t dst,
+ u_char *p, int datalen);
+extern void accept_info_reply(u_int32_t src, u_int32_t dst,
+ u_char *p, int datalen);
/* kern.c */
extern void k_set_rcvbuf(int bufsize);
diff --git a/usr.sbin/mrouted/vif.c b/usr.sbin/mrouted/vif.c
index d0546e5e7d7..3a9d9a20c09 100644
--- a/usr.sbin/mrouted/vif.c
+++ b/usr.sbin/mrouted/vif.c
@@ -885,7 +885,7 @@ accept_neighbor_request2(u_int32_t src, u_int32_t dst)
}
void
-accept_info_request(u_int32_t src, u_int32_t dst, char *p, int datalen)
+accept_info_request(u_int32_t src, u_int32_t dst, u_char *p, int datalen)
{
u_char *q;
int len;
@@ -971,7 +971,7 @@ accept_neighbors2(u_int32_t src, u_int32_t dst, u_char *p, int datalen,
* Process an incoming info reply message.
*/
void
-accept_info_reply(u_int32_t src, u_int32_t dst, char *p, int datalen)
+accept_info_reply(u_int32_t src, u_int32_t dst, u_char *p, int datalen)
{
log(LOG_INFO, 0, "ignoring spurious DVMRP info reply from %s to %s",
inet_fmt(src, s1), inet_fmt(dst, s2));