mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-06 13:09:50 +00:00
Staticicized.
This commit is contained in:
parent
8ced32b025
commit
11461e556c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29185
@ -89,9 +89,4 @@ struct sockaddr_at {
|
||||
|
||||
#define sat_zero sat_range.r_zero
|
||||
|
||||
#ifdef KERNEL
|
||||
extern struct domain atalkdomain;
|
||||
extern struct protosw atalksw[];
|
||||
#endif
|
||||
|
||||
#endif __AT_HEADER__
|
||||
|
@ -41,8 +41,9 @@
|
||||
#include <netatalk/ddp_var.h>
|
||||
#include <netatalk/at_extern.h>
|
||||
|
||||
extern struct domain atalkdomain;
|
||||
|
||||
struct protosw atalksw[] = {
|
||||
static struct protosw atalksw[] = {
|
||||
{
|
||||
/* Identifiers */
|
||||
SOCK_DGRAM, &atalkdomain, ATPROTO_DDP, PR_ATOMIC|PR_ADDR,
|
||||
@ -63,7 +64,7 @@ struct protosw atalksw[] = {
|
||||
},
|
||||
};
|
||||
|
||||
struct domain atalkdomain = {
|
||||
static struct domain atalkdomain = {
|
||||
AF_APPLETALK, "appletalk", 0, 0, 0,
|
||||
atalksw, &atalksw[sizeof(atalksw)/sizeof(atalksw[0])],
|
||||
0, rn_inithead,
|
||||
|
@ -26,12 +26,12 @@
|
||||
|
||||
struct ifqueue atintrq1, atintrq2;
|
||||
|
||||
int ddp_forward = 1;
|
||||
int ddp_firewall = 0;
|
||||
extern int ddp_cksum;
|
||||
static volatile int ddp_forward = 1;
|
||||
static volatile int ddp_firewall = 0;
|
||||
static struct ddpstat ddpstat;
|
||||
static struct route forwro;
|
||||
|
||||
void ddp_input( struct mbuf *, struct ifnet *, struct elaphdr *, int );
|
||||
static void ddp_input(struct mbuf *, struct ifnet *, struct elaphdr *, int);
|
||||
|
||||
/*
|
||||
* Could probably merge these two code segments a little better...
|
||||
@ -113,9 +113,7 @@ atintr( void )
|
||||
|
||||
NETISR_SET(NETISR_ATALK, atintr);
|
||||
|
||||
struct route forwro;
|
||||
|
||||
void
|
||||
static void
|
||||
ddp_input( m, ifp, elh, phase )
|
||||
struct mbuf *m;
|
||||
struct ifnet *ifp;
|
||||
|
Loading…
Reference in New Issue
Block a user