Eliminate __P().

This commit is contained in:
Ralf Corsepius
2007-03-28 03:08:08 +00:00
parent 2c52cfbc10
commit 652f618231
2 changed files with 6 additions and 6 deletions

View File

@@ -74,11 +74,11 @@
extern char *tcpstates[]; extern char *tcpstates[];
static int tcp_attach(struct socket *); static int tcp_attach(struct socket *);
static int tcp_connect __P((struct tcpcb *, struct mbuf *)); static int tcp_connect(struct tcpcb *, struct mbuf *);
static struct tcpcb * static struct tcpcb *
tcp_disconnect(struct tcpcb *); tcp_disconnect(struct tcpcb *);
static struct tcpcb * static struct tcpcb *
tcp_usrclosed __P((struct tcpcb *)); tcp_usrclosed(struct tcpcb *);
#ifdef TCPDEBUG #ifdef TCPDEBUG
#define TCPDEBUG0 int ostate #define TCPDEBUG0 int ostate

View File

@@ -86,10 +86,10 @@ SYSCTL_STRUCT(_net_inet_udp, UDPCTL_STATS, stats, CTLFLAG_RD,
static struct sockaddr_in udp_in = { sizeof(udp_in), AF_INET }; static struct sockaddr_in udp_in = { sizeof(udp_in), AF_INET };
static void udp_detach __P((struct inpcb *)); static void udp_detach(struct inpcb *);
static int udp_output __P((struct inpcb *, struct mbuf *, struct mbuf *, static int udp_output(struct inpcb *, struct mbuf *, struct mbuf *,
struct mbuf *)); struct mbuf *);
static void udp_notify __P((struct inpcb *, int)); static void udp_notify(struct inpcb *, int);
void void
udp_init() udp_init()