Make ddp_ports static, as it's not used outside of ddp_usrreq.c.
Inspired by: Day spent hiking to hot springs in Taiwan Powered by: Asia BSDCon 2004
This commit is contained in:
parent
3236e08bf8
commit
34f74e1ed8
@ -30,7 +30,7 @@ static int at_pcbconnect(struct ddpcb *ddp, struct sockaddr *addr,
|
||||
static void at_pcbdetach(struct socket *so, struct ddpcb *ddp);
|
||||
static int at_pcballoc(struct socket *so);
|
||||
|
||||
struct ddpcb *ddp_ports[ ATPORT_LAST ];
|
||||
static struct ddpcb *ddp_ports[ ATPORT_LAST ];
|
||||
struct ddpcb *ddpcb = NULL;
|
||||
static u_long ddp_sendspace = DDP_MAXSZ; /* Max ddp size + 1 (ddp_type) */
|
||||
static u_long ddp_recvspace = 10 * ( 587 + sizeof( struct sockaddr_at ));
|
||||
|
@ -30,7 +30,7 @@ static int at_pcbconnect(struct ddpcb *ddp, struct sockaddr *addr,
|
||||
static void at_pcbdetach(struct socket *so, struct ddpcb *ddp);
|
||||
static int at_pcballoc(struct socket *so);
|
||||
|
||||
struct ddpcb *ddp_ports[ ATPORT_LAST ];
|
||||
static struct ddpcb *ddp_ports[ ATPORT_LAST ];
|
||||
struct ddpcb *ddpcb = NULL;
|
||||
static u_long ddp_sendspace = DDP_MAXSZ; /* Max ddp size + 1 (ddp_type) */
|
||||
static u_long ddp_recvspace = 10 * ( 587 + sizeof( struct sockaddr_at ));
|
||||
|
@ -32,7 +32,6 @@ struct ddpstat {
|
||||
|
||||
#ifdef _KERNEL
|
||||
extern int ddp_cksum;
|
||||
extern struct ddpcb *ddp_ports[ ];
|
||||
extern struct ddpcb *ddpcb;
|
||||
extern struct pr_usrreqs ddp_usrreqs;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user