diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
commit | 8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch) | |
tree | ac9a52bace179e17769651fb9f805070d78abe5f /sys/netccitt/pk_extern.h | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/netccitt/pk_extern.h')
-rw-r--r-- | sys/netccitt/pk_extern.h | 124 |
1 files changed, 62 insertions, 62 deletions
diff --git a/sys/netccitt/pk_extern.h b/sys/netccitt/pk_extern.h index 4de391d3a66..d4325057482 100644 --- a/sys/netccitt/pk_extern.h +++ b/sys/netccitt/pk_extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pk_extern.h,v 1.3 2001/01/19 06:37:37 itojun Exp $ */ +/* $OpenBSD: pk_extern.h,v 1.4 2002/03/14 01:27:10 millert Exp $ */ /* $NetBSD: pk_extern.h,v 1.1 1996/02/13 22:05:17 christos Exp $ */ /* @@ -42,81 +42,81 @@ struct sockaddr_dl; struct rt_addrinfo; /* pk_acct.c */ -int pk_accton __P((char *)); -void pk_acct __P((struct pklcd *)); +int pk_accton(char *); +void pk_acct(struct pklcd *); /* pk_debug.c */ -void pk_trace __P((struct x25config *, struct mbuf *, char *)); -void mbuf_cache __P((struct mbuf_cache *, struct mbuf *)); +void pk_trace(struct x25config *, struct mbuf *, char *); +void mbuf_cache(struct mbuf_cache *, struct mbuf *); /* pk_input.c */ -void ccittintr __P((void)); -struct pkcb *pk_newlink __P((struct x25_ifaddr *, caddr_t)); -int pk_dellink __P((struct pkcb *)); -int pk_resize __P((struct pkcb *)); -void *pk_ctlinput __P((int, struct sockaddr *, void *)); -void pkintr __P((void)); -void pk_input __P((struct mbuf *, ...)); -void pk_simple_bsd __P((octet *, octet *, int, int)); -void pk_from_bcd __P((struct x25_calladdr *, int, struct sockaddr_x25 *, - struct x25config *)); -void pk_incoming_call __P((struct pkcb *, struct mbuf *)); -void pk_call_accepted __P((struct pklcd *, struct mbuf *)); -void pk_parse_facilities __P((octet *, struct sockaddr_x25 *)); +void ccittintr(void); +struct pkcb *pk_newlink(struct x25_ifaddr *, caddr_t); +int pk_dellink(struct pkcb *); +int pk_resize(struct pkcb *); +void *pk_ctlinput(int, struct sockaddr *, void *); +void pkintr(void); +void pk_input(struct mbuf *, ...); +void pk_simple_bsd(octet *, octet *, int, int); +void pk_from_bcd(struct x25_calladdr *, int, struct sockaddr_x25 *, + struct x25config *); +void pk_incoming_call(struct pkcb *, struct mbuf *); +void pk_call_accepted(struct pklcd *, struct mbuf *); +void pk_parse_facilities(octet *, struct sockaddr_x25 *); /* pk_llcsubr.c */ -void cons_rtrequest __P((int, struct rtentry *, struct rt_addrinfo *)); -struct rtentry *npaidb_enter __P((struct sockaddr_dl *, struct sockaddr *, - struct rtentry *, struct llc_linkcb *)); -struct rtentry *npaidb_enrich __P((short, caddr_t, struct sockaddr_dl *)); -int npaidb_destroy __P((struct rtentry *)); -long x25_llcglue __P((int, struct sockaddr *)); +void cons_rtrequest(int, struct rtentry *, struct rt_addrinfo *); +struct rtentry *npaidb_enter(struct sockaddr_dl *, struct sockaddr *, + struct rtentry *, struct llc_linkcb *); +struct rtentry *npaidb_enrich(short, caddr_t, struct sockaddr_dl *); +int npaidb_destroy(struct rtentry *); +long x25_llcglue(int, struct sockaddr *); /* pk_output.c */ -void pk_output __P((struct pklcd *)); -struct mbuf *nextpk __P((struct pklcd *)); +void pk_output(struct pklcd *); +struct mbuf *nextpk(struct pklcd *); /* pk_subr.c */ -struct pklcd *pk_attach __P((struct socket *)); -void pk_disconnect __P((struct pklcd *)); -void pk_close __P((struct pklcd *)); -struct mbuf *pk_template __P((int, int)); -void pk_restart __P((struct pkcb *, int)); -void pk_freelcd __P((struct pklcd *)); -int pk_bind __P((struct pklcd *, struct mbuf *)); -int pk_listen __P((struct pklcd *)); +struct pklcd *pk_attach(struct socket *); +void pk_disconnect(struct pklcd *); +void pk_close(struct pklcd *); +struct mbuf *pk_template(int, int); +void pk_restart(struct pkcb *, int); +void pk_freelcd(struct pklcd *); +int pk_bind(struct pklcd *, struct mbuf *); +int pk_listen(struct pklcd *); int pk_protolisten __P((int, int, int (*)(struct mbuf *, void *))); -void pk_assoc __P((struct pkcb *, struct pklcd *, struct sockaddr_x25 *)); -int pk_connect __P((struct pklcd *, struct sockaddr_x25 *)); -void pk_callcomplete __P((struct pkcb *)); -void pk_callrequest __P((struct pklcd *, struct sockaddr_x25 *, - struct x25config *)); -void pk_build_facilities __P((struct mbuf *, struct sockaddr_x25 *, int)); -int to_bcd __P((struct bcdinfo *, struct sockaddr_x25 *, struct x25config *)); -int pk_getlcn __P((struct pkcb *)); -void pk_clear __P((struct pklcd *, int, int)); -void pk_flowcontrol __P((struct pklcd *, int, int)); -void pk_flush __P((struct pklcd *)); -void pk_procerror __P((int, struct pklcd *, char *, int)); -int pk_ack __P((struct pklcd *, unsigned)); -int pk_decode __P((struct x25_packet *)); -void pk_restartcause __P((struct pkcb *, struct x25_packet *)); -void pk_resetcause __P((struct pkcb *, struct x25_packet *)); -void pk_clearcause __P((struct pkcb *, struct x25_packet *)); -char *format_ntn __P((struct x25config *)); -void pk_message __P((int, struct x25config *, char *, ...)); -int pk_fragment __P((struct pklcd *, struct mbuf *, int, int, int)); +void pk_assoc(struct pkcb *, struct pklcd *, struct sockaddr_x25 *); +int pk_connect(struct pklcd *, struct sockaddr_x25 *); +void pk_callcomplete(struct pkcb *); +void pk_callrequest(struct pklcd *, struct sockaddr_x25 *, + struct x25config *); +void pk_build_facilities(struct mbuf *, struct sockaddr_x25 *, int); +int to_bcd(struct bcdinfo *, struct sockaddr_x25 *, struct x25config *); +int pk_getlcn(struct pkcb *); +void pk_clear(struct pklcd *, int, int); +void pk_flowcontrol(struct pklcd *, int, int); +void pk_flush(struct pklcd *); +void pk_procerror(int, struct pklcd *, char *, int); +int pk_ack(struct pklcd *, unsigned); +int pk_decode(struct x25_packet *); +void pk_restartcause(struct pkcb *, struct x25_packet *); +void pk_resetcause(struct pkcb *, struct x25_packet *); +void pk_clearcause(struct pkcb *, struct x25_packet *); +char *format_ntn(struct x25config *); +void pk_message(int, struct x25config *, char *, ...); +int pk_fragment(struct pklcd *, struct mbuf *, int, int, int); /* pk_timer.c */ -void pk_timer __P((void)); +void pk_timer(void); /* pk_usrreq.c */ -int pk_usrreq __P((struct socket *, int, struct mbuf *, struct mbuf *, - struct mbuf *)); -int pk_start __P((struct pklcd *)); -int pk_control __P((struct socket *, u_long, caddr_t, struct ifnet *)); -int pk_ctloutput __P((int, struct socket *, int, int, struct mbuf **)); -int pk_checksockaddr __P((struct mbuf *)); -int pk_send __P((struct mbuf *, void *)); +int pk_usrreq(struct socket *, int, struct mbuf *, struct mbuf *, + struct mbuf *); +int pk_start(struct pklcd *); +int pk_control(struct socket *, u_long, caddr_t, struct ifnet *); +int pk_ctloutput(int, struct socket *, int, int, struct mbuf **); +int pk_checksockaddr(struct mbuf *); +int pk_send(struct mbuf *, void *); #endif |