summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-19 21:25:46 +0000
committeralfred <alfred@FreeBSD.org>2002-03-19 21:25:46 +0000
commit357e37e023059920b1f80494e489797e2f69a3dd (patch)
tree7ea68f3b5c452a55df6c05b903dae3ac1e8f71f9 /sys/netinet/udp_usrreq.c
parentca2e5c188ee68045b54a86bfefcfd4a75e174221 (diff)
downloadFreeBSD-src-357e37e023059920b1f80494e489797e2f69a3dd.zip
FreeBSD-src-357e37e023059920b1f80494e489797e2f69a3dd.tar.gz
Remove __P.
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 3f98ea7..e4f7e0d 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;
OpenPOWER on IntegriCloud