aboutsummaryrefslogtreecommitdiff
path: root/slirp/udp.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-07-01 19:11:17 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-07-01 19:11:17 +0000
commit6cb9c6d36f17c964a7e5b56c5452178f0e3abdb4 (patch)
tree88fe4f534351b5c93a74ef479771fe1acac3e764 /slirp/udp.h
parent22d091b38d30cc22b923daca8cf0f0c0cffadcd7 (diff)
Fix breakage by obsolete _P() for good
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'slirp/udp.h')
-rw-r--r--slirp/udp.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/slirp/udp.h b/slirp/udp.h
index cc814a3f48..47d2f3d4cd 100644
--- a/slirp/udp.h
+++ b/slirp/udp.h
@@ -73,13 +73,13 @@ struct udpiphdr {
struct mbuf;
-void udp_init _P((Slirp *));
-void udp_input _P((register struct mbuf *, int));
-int udp_output _P((struct socket *, struct mbuf *, struct sockaddr_in *));
-int udp_attach _P((struct socket *));
-void udp_detach _P((struct socket *));
-struct socket * udp_listen _P((Slirp *, u_int32_t, u_int, u_int32_t, u_int,
- int));
+void udp_init(Slirp *);
+void udp_input(register struct mbuf *, int);
+int udp_output(struct socket *, struct mbuf *, struct sockaddr_in *);
+int udp_attach(struct socket *);
+void udp_detach(struct socket *);
+struct socket * udp_listen(Slirp *, u_int32_t, u_int, u_int32_t, u_int,
+ int);
int udp_output2(struct socket *so, struct mbuf *m,
struct sockaddr_in *saddr, struct sockaddr_in *daddr,
int iptos);