summaryrefslogtreecommitdiff
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-03-19 21:25:46 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-03-19 21:25:46 +0000
commit4d77a549fed13746cc4edf84e511b385c1754f3d (patch)
tree7ea68f3b5c452a55df6c05b903dae3ac1e8f71f9 /sys/netinet/udp_usrreq.c
parent89fb8ee796263407b2396378b7076c0350b9e5cc (diff)
Notes
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 3f98ea7210d6..e4f7e0d73a76 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -126,15 +126,15 @@ struct udp_ip6 {
} udp_ip6;
#endif /* INET6 */
-static void udp_append __P((struct inpcb *last, struct ip *ip,
- struct mbuf *n, int off));
+static void udp_append(struct inpcb *last, struct ip *ip,
+ struct mbuf *n, int off);
#ifdef INET6
-static void ip_2_ip6_hdr __P((struct ip6_hdr *ip6, struct ip *ip));
+static void ip_2_ip6_hdr(struct ip6_hdr *ip6, struct ip *ip);
#endif
-static int udp_detach __P((struct socket *so));
-static int udp_output __P((struct inpcb *, struct mbuf *, struct sockaddr *,
- struct mbuf *, struct thread *));
+static int udp_detach(struct socket *so);
+static int udp_output(struct inpcb *, struct mbuf *, struct sockaddr *,
+ struct mbuf *, struct thread *);
void
udp_init()
@@ -509,7 +509,7 @@ udp_ctlinput(cmd, sa, vip)
{
struct ip *ip = vip;
struct udphdr *uh;
- void (*notify) __P((struct inpcb *, int)) = udp_notify;
+ void (*notify)(struct inpcb *, int) = udp_notify;
struct in_addr faddr;
struct inpcb *inp;
int s;