diff options
author | eivind <eivind@FreeBSD.org> | 1998-02-09 06:11:36 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-02-09 06:11:36 +0000 |
commit | d7a6ab28035779065026b70dca440892d819c0bc (patch) | |
tree | 930fd4603b42a095e9f3669517dea29274323575 /sys/netnatm | |
parent | 4538098d0b3fbe09f64c578b730483a6e77ff40f (diff) | |
download | FreeBSD-src-d7a6ab28035779065026b70dca440892d819c0bc.zip FreeBSD-src-d7a6ab28035779065026b70dca440892d819c0bc.tar.gz |
Staticize.
Diffstat (limited to 'sys/netnatm')
-rw-r--r-- | sys/netnatm/natm.c | 8 | ||||
-rw-r--r-- | sys/netnatm/natm_proto.c | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/netnatm/natm.c b/sys/netnatm/natm.c index 877ed62..d27b102 100644 --- a/sys/netnatm/natm.c +++ b/sys/netnatm/natm.c @@ -54,11 +54,11 @@ #include <netnatm/natm.h> -u_long natm5_sendspace = 16*1024; -u_long natm5_recvspace = 16*1024; +static u_long natm5_sendspace = 16*1024; +static u_long natm5_recvspace = 16*1024; -u_long natm0_sendspace = 16*1024; -u_long natm0_recvspace = 16*1024; +static u_long natm0_sendspace = 16*1024; +static u_long natm0_recvspace = 16*1024; /* * user requests diff --git a/sys/netnatm/natm_proto.c b/sys/netnatm/natm_proto.c index 9f8fc52..58ecaf1 100644 --- a/sys/netnatm/natm_proto.c +++ b/sys/netnatm/natm_proto.c @@ -53,7 +53,7 @@ extern struct domain natmdomain; static void natm_init __P((void)); -struct protosw natmsw[] = { +static struct protosw natmsw[] = { { SOCK_STREAM, &natmdomain, PROTO_NATMAAL5, PR_CONNREQUIRED, 0, 0, 0, 0, #ifdef FREEBSD_USRREQS @@ -98,13 +98,13 @@ struct protosw natmsw[] = { }, }; -struct domain natmdomain = +static struct domain natmdomain = { AF_NATM, "natm", natm_init, 0, 0, natmsw, &natmsw[sizeof(natmsw)/sizeof(natmsw[0])], 0, 0, 0, 0}; struct ifqueue natmintrq; /* natm packet input queue */ -int natmqmaxlen = IFQ_MAXLEN; /* max # of packets on queue */ +static int natmqmaxlen = IFQ_MAXLEN; /* max # of packets on queue */ #ifdef NATM_STAT u_int natm_sodropcnt = 0; /* # mbufs dropped due to full sb */ u_int natm_sodropbytes = 0; /* # of bytes dropped */ |