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:
Robert Watson 2004-03-17 12:54:21 +00:00
parent 3236e08bf8
commit 34f74e1ed8
3 changed files with 2 additions and 3 deletions

View File

@ -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 ));

View File

@ -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 ));

View File

@ -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