diff options
Diffstat (limited to 'sys/netatalk')
-rw-r--r-- | sys/netatalk/aarp.c | 6 | ||||
-rw-r--r-- | sys/netatalk/ddp_pcb.c | 4 | ||||
-rw-r--r-- | sys/netatalk/ddp_usrreq.c | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/sys/netatalk/aarp.c b/sys/netatalk/aarp.c index 63e4d89..702f088 100644 --- a/sys/netatalk/aarp.c +++ b/sys/netatalk/aarp.c @@ -30,8 +30,8 @@ static void at_aarpinput( struct arpcom *ac, struct mbuf *m); #define AARPTAB_BSIZ 9 #define AARPTAB_NB 19 #define AARPTAB_SIZE (AARPTAB_BSIZ * AARPTAB_NB) -struct aarptab aarptab[AARPTAB_SIZE]; -int aarptab_size = AARPTAB_SIZE; +static struct aarptab aarptab[AARPTAB_SIZE]; +static int aarptab_size = AARPTAB_SIZE; #define AARPTAB_HASH(a) \ ((((a).s_net << 8 ) + (a).s_node ) % AARPTAB_NB ) @@ -55,7 +55,7 @@ int aarptab_size = AARPTAB_SIZE; extern u_char etherbroadcastaddr[6]; # endif __FreeBSD__ -u_char atmulticastaddr[ 6 ] = { +static u_char atmulticastaddr[ 6 ] = { 0x09, 0x00, 0x07, 0xff, 0xff, 0xff, }; diff --git a/sys/netatalk/ddp_pcb.c b/sys/netatalk/ddp_pcb.c index 53e7dce..45c9b2eb4 100644 --- a/sys/netatalk/ddp_pcb.c +++ b/sys/netatalk/ddp_pcb.c @@ -30,8 +30,8 @@ static int at_pcballoc(struct socket *so); struct ddpcb *ddp_ports[ ATPORT_LAST ]; struct ddpcb *ddpcb = NULL; -u_long ddp_sendspace = DDP_MAXSZ; /* Max ddp size + 1 (ddp_type) */ -u_long ddp_recvspace = 10 * ( 587 + sizeof( struct sockaddr_at )); +static u_long ddp_sendspace = DDP_MAXSZ; /* Max ddp size + 1 (ddp_type) */ +static u_long ddp_recvspace = 10 * ( 587 + sizeof( struct sockaddr_at )); static int diff --git a/sys/netatalk/ddp_usrreq.c b/sys/netatalk/ddp_usrreq.c index 53e7dce..45c9b2eb4 100644 --- a/sys/netatalk/ddp_usrreq.c +++ b/sys/netatalk/ddp_usrreq.c @@ -30,8 +30,8 @@ static int at_pcballoc(struct socket *so); struct ddpcb *ddp_ports[ ATPORT_LAST ]; struct ddpcb *ddpcb = NULL; -u_long ddp_sendspace = DDP_MAXSZ; /* Max ddp size + 1 (ddp_type) */ -u_long ddp_recvspace = 10 * ( 587 + sizeof( struct sockaddr_at )); +static u_long ddp_sendspace = DDP_MAXSZ; /* Max ddp size + 1 (ddp_type) */ +static u_long ddp_recvspace = 10 * ( 587 + sizeof( struct sockaddr_at )); static int |