From 8c4c86de23351a059da32e84dccff0bbbc8d3c48 Mon Sep 17 00:00:00 2001 From: alfred Date: Wed, 20 Mar 2002 02:39:27 +0000 Subject: Remove __P. --- sys/netatm/atm_var.h | 185 +++++++++++++++++++++++++-------------------------- 1 file changed, 91 insertions(+), 94 deletions(-) (limited to 'sys/netatm/atm_var.h') diff --git a/sys/netatm/atm_var.h b/sys/netatm/atm_var.h index 7668b60..6ea3ec7 100644 --- a/sys/netatm/atm_var.h +++ b/sys/netatm/atm_var.h @@ -81,126 +81,123 @@ extern struct pr_usrreqs atm_dgram_usrreqs; * Global function declarations */ /* atm_aal5.c */ -int atm_aal5_ctloutput __P((struct socket *, struct sockopt *)); -void atm_aal5_init __P((void)); +int atm_aal5_ctloutput(struct socket *, struct sockopt *); +void atm_aal5_init(void); /* atm_cm.c */ -int atm_cm_connect __P((Atm_endpoint *, void *, Atm_attributes *, - Atm_connection **)); -int atm_cm_listen __P((Atm_endpoint *, void *, Atm_attributes *, - Atm_connection **)); -int atm_cm_addllc __P((Atm_endpoint *, void *, struct attr_llc *, - Atm_connection *, Atm_connection **)); -int atm_cm_addparty __P((Atm_connection *, int, - struct t_atm_sap *)); -int atm_cm_dropparty __P((Atm_connection *, int, - struct t_atm_cause *)); -int atm_cm_release __P((Atm_connection *, struct t_atm_cause *)); -int atm_cm_abort __P((Atm_connvc *, struct t_atm_cause *)); -int atm_cm_incoming __P((struct vccb *, Atm_attributes *)); -void atm_cm_connected __P((Atm_connvc *)); -void atm_cm_cleared __P((Atm_connvc *)); -Atm_connection *atm_cm_match __P((Atm_attributes *, Atm_connection *)); -int atm_cm_cpcs_ctl __P((int, Atm_connection *, void *)); -int atm_cm_cpcs_data __P((Atm_connection *, KBuffer *)); -int atm_cm_saal_ctl __P((int, Atm_connection *, void *)); -int atm_cm_saal_data __P((Atm_connection *, KBuffer *)); -int atm_cm_sscop_ctl __P((int, Atm_connection *, void *, void *)); -int atm_cm_sscop_data __P((Atm_connection *, KBuffer *)); -int atm_endpoint_register __P((Atm_endpoint *)); -int atm_endpoint_deregister __P((Atm_endpoint *)); +int atm_cm_connect(Atm_endpoint *, void *, Atm_attributes *, + Atm_connection **); +int atm_cm_listen(Atm_endpoint *, void *, Atm_attributes *, + Atm_connection **); +int atm_cm_addllc(Atm_endpoint *, void *, struct attr_llc *, + Atm_connection *, Atm_connection **); +int atm_cm_addparty(Atm_connection *, int, struct t_atm_sap *); +int atm_cm_dropparty(Atm_connection *, int, struct t_atm_cause *); +int atm_cm_release(Atm_connection *, struct t_atm_cause *); +int atm_cm_abort(Atm_connvc *, struct t_atm_cause *); +int atm_cm_incoming(struct vccb *, Atm_attributes *); +void atm_cm_connected(Atm_connvc *); +void atm_cm_cleared(Atm_connvc *); +Atm_connection *atm_cm_match(Atm_attributes *, Atm_connection *); +int atm_cm_cpcs_ctl(int, Atm_connection *, void *); +int atm_cm_cpcs_data(Atm_connection *, KBuffer *); +int atm_cm_saal_ctl(int, Atm_connection *, void *); +int atm_cm_saal_data(Atm_connection *, KBuffer *); +int atm_cm_sscop_ctl(int, Atm_connection *, void *, void *); +int atm_cm_sscop_data(Atm_connection *, KBuffer *); +int atm_endpoint_register(Atm_endpoint *); +int atm_endpoint_deregister(Atm_endpoint *); /* atm_device.c */ -int atm_dev_inst __P((struct stack_defn **, Atm_connvc *)); -void atm_dev_lower __P((int, void *, int, int)); -void * atm_dev_alloc __P((u_int, u_int, u_int)); -void atm_dev_free __P((volatile void *)); +int atm_dev_inst(struct stack_defn **, Atm_connvc *); +void atm_dev_lower(int, void *, int, int); +void * atm_dev_alloc(u_int, u_int, u_int); +void atm_dev_free(volatile void *); #if defined(sun4m) -void * atm_dma_map __P((caddr_t, int, int)); -void atm_dma_free __P((caddr_t, int)); +void * atm_dma_map(caddr_t, int, int); +void atm_dma_free(caddr_t, int); #endif -KBuffer * atm_dev_compress __P((KBuffer *)); -Cmn_vcc * atm_dev_vcc_find __P((Cmn_unit *, u_int, u_int, u_int)); -void atm_dev_pdu_print __P((Cmn_unit *, Cmn_vcc *, KBuffer *, - char *)); +KBuffer * atm_dev_compress(KBuffer *); +Cmn_vcc * atm_dev_vcc_find(Cmn_unit *, u_int, u_int, u_int); +void atm_dev_pdu_print(Cmn_unit *, Cmn_vcc *, KBuffer *, char *); /* atm_if.c */ -int atm_physif_register __P((Cmn_unit *, char *, - struct stack_defn *)); -int atm_physif_deregister __P((Cmn_unit *)); -void atm_physif_freenifs __P((struct atm_pif *)); -int atm_netconv_register __P((struct atm_ncm *)); -int atm_netconv_deregister __P((struct atm_ncm *)); -int atm_nif_attach __P((struct atm_nif *)); -void atm_nif_detach __P((struct atm_nif *)); -int atm_nif_setaddr __P((struct atm_nif *, struct ifaddr *)); +int atm_physif_register(Cmn_unit *, char *, + struct stack_defn *); +int atm_physif_deregister(Cmn_unit *); +void atm_physif_freenifs(struct atm_pif *); +int atm_netconv_register(struct atm_ncm *); +int atm_netconv_deregister(struct atm_ncm *); +int atm_nif_attach(struct atm_nif *); +void atm_nif_detach(struct atm_nif *); +int atm_nif_setaddr(struct atm_nif *, struct ifaddr *); #if (defined(BSD) && (BSD >= 199103)) -int atm_ifoutput __P((struct ifnet *, KBuffer *, - struct sockaddr *, struct rtentry *)); +int atm_ifoutput(struct ifnet *, KBuffer *, + struct sockaddr *, struct rtentry *); #else -int atm_ifoutput __P((struct ifnet *, KBuffer *, - struct sockaddr *)); +int atm_ifoutput(struct ifnet *, KBuffer *, + struct sockaddr *); #endif struct atm_pif * - atm_pifname __P((char *)); + atm_pifname(char *); struct atm_nif * - atm_nifname __P((char *)); + atm_nifname(char *); /* atm_proto.c */ #if (defined(__FreeBSD__) && (BSD >= 199506)) -int atm_proto_notsupp1 __P((struct socket *)); -int atm_proto_notsupp2 __P((struct socket *, struct sockaddr *, - struct thread *)); -int atm_proto_notsupp3 __P((struct socket *, struct sockaddr **)); -int atm_proto_notsupp4 __P((struct socket *, int, KBuffer *, - struct sockaddr *, KBuffer *, struct thread *)); +int atm_proto_notsupp1(struct socket *); +int atm_proto_notsupp2(struct socket *, struct sockaddr *, + struct thread *); +int atm_proto_notsupp3(struct socket *, struct sockaddr **); +int atm_proto_notsupp4(struct socket *, int, KBuffer *, + struct sockaddr *, KBuffer *, struct thread *); #endif /* atm_signal.c */ -int atm_sigmgr_register __P((struct sigmgr *)); -int atm_sigmgr_deregister __P((struct sigmgr *)); -int atm_sigmgr_attach __P((struct atm_pif *, u_char)); -int atm_sigmgr_detach __P((struct atm_pif *)); -int atm_stack_register __P((struct stack_defn *)); -int atm_stack_deregister __P((struct stack_defn *)); -int atm_create_stack __P((Atm_connvc *, struct stack_list *, - void (*)__P((int, void *, int, int)) )); +int atm_sigmgr_register(struct sigmgr *); +int atm_sigmgr_deregister(struct sigmgr *); +int atm_sigmgr_attach(struct atm_pif *, u_char); +int atm_sigmgr_detach(struct atm_pif *); +int atm_stack_register(struct stack_defn *); +int atm_stack_deregister(struct stack_defn *); +int atm_create_stack(Atm_connvc *, struct stack_list *, + void (*)(int, void *, int, int) ); /* atm_socket.c */ -int atm_sock_attach __P((struct socket *, u_long, u_long)); -int atm_sock_detach __P((struct socket *)); -int atm_sock_bind __P((struct socket *, struct sockaddr *)); -int atm_sock_listen __P((struct socket *, Atm_endpoint *)); -int atm_sock_connect __P((struct socket *, struct sockaddr *, - Atm_endpoint *)); -int atm_sock_disconnect __P((struct socket *)); -int atm_sock_sockaddr __P((struct socket *, struct sockaddr **)); -int atm_sock_peeraddr __P((struct socket *, struct sockaddr **)); -int atm_sock_setopt __P((struct socket *, struct sockopt *, - Atm_pcb *)); -int atm_sock_getopt __P((struct socket *, struct sockopt *, - Atm_pcb *)); -void atm_sock_connected __P((void *)); -void atm_sock_cleared __P((void *, struct t_atm_cause *)); +int atm_sock_attach(struct socket *, u_long, u_long); +int atm_sock_detach(struct socket *); +int atm_sock_bind(struct socket *, struct sockaddr *); +int atm_sock_listen(struct socket *, Atm_endpoint *); +int atm_sock_connect(struct socket *, struct sockaddr *, + Atm_endpoint *); +int atm_sock_disconnect(struct socket *); +int atm_sock_sockaddr(struct socket *, struct sockaddr **); +int atm_sock_peeraddr(struct socket *, struct sockaddr **); +int atm_sock_setopt(struct socket *, struct sockopt *, + Atm_pcb *); +int atm_sock_getopt(struct socket *, struct sockopt *, + Atm_pcb *); +void atm_sock_connected(void *); +void atm_sock_cleared(void *, struct t_atm_cause *); /* atm_subr.c */ -void atm_initialize __P((void)); -void * atm_allocate __P((struct sp_info *)); -void atm_free __P((void *)); -void atm_release_pool __P((struct sp_info *)); -void atm_timeout __P((struct atm_time *, int, - void (*) __P((struct atm_time *)) )); -int atm_untimeout __P((struct atm_time *)); -int atm_stack_enq __P((int, void (*) __P((int, void *, int, int)), - void *, Atm_connvc *, int, int)); -void atm_stack_drain __P((void)); -void atm_intr __P((void)); -void atm_pdu_print __P((KBuffer *, char *)); +void atm_initialize(void); +void * atm_allocate(struct sp_info *); +void atm_free(void *); +void atm_release_pool(struct sp_info *); +void atm_timeout(struct atm_time *, int, + void (*)(struct atm_time *) ); +int atm_untimeout(struct atm_time *); +int atm_stack_enq(int, void (*)(int, void *, int, int), + void *, Atm_connvc *, int, int); +void atm_stack_drain(void); +void atm_intr(void); +void atm_pdu_print(KBuffer *, char *); /* atm_usrreq.c */ #if (!(defined(__FreeBSD__) && (BSD >= 199506))) -int atm_dgram_usrreq __P((struct socket *, int, KBuffer *, - KBuffer *, KBuffer *)); +int atm_dgram_usrreq(struct socket *, int, KBuffer *, + KBuffer *, KBuffer *); #endif #endif /* _KERNEL */ -- cgit v1.1