X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..e2fac8b15b12a7979f72090454d850e612fc5b13:/bsd/netat/at_pcb.c?ds=sidebyside diff --git a/bsd/netat/at_pcb.c b/bsd/netat/at_pcb.c index 36b866a4f..a1e542bdf 100644 --- a/bsd/netat/at_pcb.c +++ b/bsd/netat/at_pcb.c @@ -97,7 +97,7 @@ extern struct atpcb *atp_inputQ[]; extern CCB *adsp_inputQ[]; extern at_ifaddr_t *ifID_home; extern struct { - void (*func)(); + ddp_handler_func func; } ddp_handler[]; int DDP_chksum_on = FALSE; @@ -105,7 +105,7 @@ int DDP_slfsnd_on = FALSE; zone_t atpcb_zone; -void at_memzone_init() +void at_memzone_init(void) { vm_size_t str_size; @@ -189,7 +189,6 @@ int at_pcbbind(pcb, nam) register struct atpcb *pcb; struct sockaddr *nam; { - register struct socket *so = pcb->atpcb_socket; register struct sockaddr_at *local = (struct sockaddr_at *) nam; u_char ddpsock = local->sat_port;