From eba16f8d014702d2cbb7fc47feee765e344015fb Mon Sep 17 00:00:00 2001 From: alfred Date: Thu, 3 Oct 2002 06:44:01 +0000 Subject: Static'ify a variable. Submitted by: Matt Emmerton --- sys/dev/ti/if_ti.c | 2 +- sys/pci/if_ti.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index d77acb5..0cd4843 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -1270,7 +1270,7 @@ ti_newbuf_jumbo(sc, i, m) #define TCP_HDR_LEN (52 + sizeof(struct ether_header)) #define UDP_HDR_LEN (28 + sizeof(struct ether_header)) #define NFS_HDR_LEN (UDP_HDR_LEN) -int HDR_LEN = TCP_HDR_LEN; +static int HDR_LEN = TCP_HDR_LEN; /* diff --git a/sys/pci/if_ti.c b/sys/pci/if_ti.c index d77acb5..0cd4843 100644 --- a/sys/pci/if_ti.c +++ b/sys/pci/if_ti.c @@ -1270,7 +1270,7 @@ ti_newbuf_jumbo(sc, i, m) #define TCP_HDR_LEN (52 + sizeof(struct ether_header)) #define UDP_HDR_LEN (28 + sizeof(struct ether_header)) #define NFS_HDR_LEN (UDP_HDR_LEN) -int HDR_LEN = TCP_HDR_LEN; +static int HDR_LEN = TCP_HDR_LEN; /* -- cgit v1.1