summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ti/if_ti.c2
-rw-r--r--sys/pci/if_ti.c2
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;
/*
OpenPOWER on IntegriCloud