summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2009-12-15 13:23:54 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2009-12-15 13:23:54 +0000
commit054c64453edc265f6f3066e7d9077fe10180f771 (patch)
treebe70ba2e8934e9b5472a82db8c112660fcd75039 /sys/netinet
parent8ed27ec4f664b4978413fa34ae76cb7285d1c652 (diff)
Ansify function declarations.
ok claudio@
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/igmp.c28
1 files changed, 10 insertions, 18 deletions
diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c
index bfd3114bca4..bbdd681b69d 100644
--- a/sys/netinet/igmp.c
+++ b/sys/netinet/igmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: igmp.c,v 1.27 2009/12/15 11:35:54 jsing Exp $ */
+/* $OpenBSD: igmp.c,v 1.28 2009/12/15 13:23:53 jsing Exp $ */
/* $NetBSD: igmp.c,v 1.15 1996/02/13 23:41:25 christos Exp $ */
/*
@@ -108,7 +108,7 @@ int rti_fill(struct in_multi *);
struct router_info * rti_find(struct ifnet *);
void
-igmp_init()
+igmp_init(void)
{
/*
@@ -120,8 +120,7 @@ igmp_init()
/* Return -1 for error. */
int
-rti_fill(inm)
- struct in_multi *inm;
+rti_fill(struct in_multi *inm)
{
struct router_info *rti;
@@ -148,8 +147,7 @@ rti_fill(inm)
}
struct router_info *
-rti_find(ifp)
- struct ifnet *ifp;
+rti_find(struct ifnet *ifp)
{
struct router_info *rti;
@@ -170,8 +168,7 @@ rti_find(ifp)
}
void
-rti_delete(ifp)
- struct ifnet *ifp;
+rti_delete(struct ifnet *ifp)
{
struct router_info *rti, **prti = &rti_head;
@@ -460,8 +457,7 @@ igmp_input(struct mbuf *m, ...)
}
void
-igmp_joingroup(inm)
- struct in_multi *inm;
+igmp_joingroup(struct in_multi *inm)
{
int i, s = splsoftnet();
@@ -484,8 +480,7 @@ igmp_joingroup(inm)
}
void
-igmp_leavegroup(inm)
- struct in_multi *inm;
+igmp_leavegroup(struct in_multi *inm)
{
switch (inm->inm_state) {
@@ -506,7 +501,7 @@ igmp_leavegroup(inm)
}
void
-igmp_fasttimo()
+igmp_fasttimo(void)
{
struct in_multi *inm;
struct in_multistep step;
@@ -544,7 +539,7 @@ igmp_fasttimo()
}
void
-igmp_slowtimo()
+igmp_slowtimo(void)
{
struct router_info *rti;
int s;
@@ -560,10 +555,7 @@ igmp_slowtimo()
}
void
-igmp_sendpkt(inm, type, addr)
- struct in_multi *inm;
- int type;
- in_addr_t addr;
+igmp_sendpkt(struct in_multi *inm, int type, in_addr_t addr)
{
struct mbuf *m;
struct igmp *igmp;