summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 03:16:15 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 03:16:15 +0000
commite63dc855fe4ff1aa0029ebf9813134860a34ccdf (patch)
treec2aa960c67a99a878c8902943399029fa598683f /sys/netinet
parent71eb96ce8a9190e7ffeccbabd7a5ec4f3b4fc72f (diff)
Final __P removal plus some cosmetic fixups
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/icmp6.h4
-rw-r--r--sys/netinet/if_ether.c4
-rw-r--r--sys/netinet/in_pcb.h14
-rw-r--r--sys/netinet/ip_gre.c4
4 files changed, 13 insertions, 13 deletions
diff --git a/sys/netinet/icmp6.h b/sys/netinet/icmp6.h
index 3c6c9b57af2..1d0ab28c77b 100644
--- a/sys/netinet/icmp6.h
+++ b/sys/netinet/icmp6.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: icmp6.h,v 1.20 2002/03/14 01:27:11 millert Exp $ */
+/* $OpenBSD: icmp6.h,v 1.21 2002/03/14 03:16:11 millert Exp $ */
/* $KAME: icmp6.h,v 1.39 2001/02/06 03:48:06 itojun Exp $ */
/*
@@ -615,7 +615,7 @@ int icmp6_sysctl(int *, u_int, void *, size_t *, void *, size_t);
struct ip6ctlparam;
void icmp6_mtudisc_update(struct ip6ctlparam *, int);
-void icmp6_mtudisc_callback_register __P((void (*)(struct in6_addr *)));
+void icmp6_mtudisc_callback_register(void (*)(struct in6_addr *));
/* XXX: is this the right place for these macros? */
#define icmp6_ifstat_inc(ifp, tag) \
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index 80443240382..5057db4e630 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ether.c,v 1.38 2002/03/14 01:27:11 millert Exp $ */
+/* $OpenBSD: if_ether.c,v 1.39 2002/03/14 03:16:11 millert Exp $ */
/* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */
/*
@@ -894,7 +894,7 @@ db_print_sa(sa)
return;
}
- p = (u_char*)sa;
+ p = (u_char *)sa;
len = sa->sa_len;
db_printf("[");
while (len > 0) {
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h
index e8047f6b8e9..ba21c03eb72 100644
--- a/sys/netinet/in_pcb.h
+++ b/sys/netinet/in_pcb.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_pcb.h,v 1.39 2002/03/14 01:27:11 millert Exp $ */
+/* $OpenBSD: in_pcb.h,v 1.40 2002/03/14 03:16:11 millert Exp $ */
/* $NetBSD: in_pcb.h,v 1.14 1996/02/13 23:42:00 christos Exp $ */
/*
@@ -257,10 +257,10 @@ void in_pcbinit(struct inpcbtable *, int);
struct inpcb *
in_pcblookup(struct inpcbtable *, void *, u_int, void *,
u_int, int);
-void in_pcbnotify __P((struct inpcbtable *, struct sockaddr *,
- u_int, struct in_addr, u_int, int, void (*)(struct inpcb *, int)));
-void in_pcbnotifyall __P((struct inpcbtable *, struct sockaddr *,
- int, void (*)(struct inpcb *, int)));
+void in_pcbnotify(struct inpcbtable *, struct sockaddr *,
+ u_int, struct in_addr, u_int, int, void (*)(struct inpcb *, int));
+void in_pcbnotifyall(struct inpcbtable *, struct sockaddr *,
+ int, void (*)(struct inpcb *, int));
void in_pcbrehash(struct inpcb *);
void in_rtchange(struct inpcb *, int);
void in_setpeeraddr(struct inpcb *, struct mbuf *);
@@ -272,9 +272,9 @@ struct rtentry *
in_pcbrtentry(struct inpcb *);
/* INET6 stuff */
-int in6_pcbnotify __P((struct inpcbtable *, struct sockaddr *,
+int in6_pcbnotify(struct inpcbtable *, struct sockaddr *,
u_int, struct sockaddr *, u_int, int, void *,
- void (*)(struct inpcb *, int)));
+ void (*)(struct inpcb *, int));
struct in6_addr *in6_selectsrc(struct sockaddr_in6 *,
struct ip6_pktopts *,
struct ip6_moptions *,
diff --git a/sys/netinet/ip_gre.c b/sys/netinet/ip_gre.c
index 023f1ed30c3..9e559d76df7 100644
--- a/sys/netinet/ip_gre.c
+++ b/sys/netinet/ip_gre.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_gre.c,v 1.13 2002/03/14 01:27:11 millert Exp $ */
+/* $OpenBSD: ip_gre.c,v 1.14 2002/03/14 03:16:11 millert Exp $ */
/* $NetBSD: ip_gre.c,v 1.9 1999/10/25 19:18:11 drochner Exp $ */
/*
@@ -301,7 +301,7 @@ gre_mobile_input(m, va_alist)
mip->mi.ip_dst.s_addr = mip->mh.odst;
mip->mi.ip_p = (ntohs(mip->mh.proto) >> 8);
- if (gre_in_cksum((u_short*) &mip->mh,msiz) != 0) {
+ if (gre_in_cksum((u_short *) &mip->mh,msiz) != 0) {
m_freem(m);
return;
}