summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2015-02-22 13:23:17 -0800
committerBen Pfaff <blp@nicira.com>2015-03-03 16:19:28 -0800
commit24885e3232f53d81856ea3c6166ff7564b27af9d (patch)
tree68997f6740d9f49d213a090f31e5b4f4f09b4965 /tests
parente8fa10d7546a46173d5607c4545b8bede7cbb377 (diff)
downloadopenvswitch-24885e3232f53d81856ea3c6166ff7564b27af9d.tar.gz
test-aa: Make variables local to this file static.
Found by sparse. Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test-aa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-aa.c b/tests/test-aa.c
index c4c9e71ce..843249e7b 100644
--- a/tests/test-aa.c
+++ b/tests/test-aa.c
@@ -26,14 +26,14 @@
#define ETH_TYPE_LLDP 0x88cc
/* Dummy MAC addresses */
-char chassis_mac[ETHER_ADDR_LEN] = { 0x5e, 0x10, 0x8e, 0xe7, 0x84, 0xad };
-uint8_t eth_src[ETHER_ADDR_LEN] = { 0x5e, 0x10, 0x8e, 0xe7, 0x84, 0xad };
+static char chassis_mac[ETH_ADDR_LEN] = { 0x5e, 0x10, 0x8e, 0xe7, 0x84, 0xad };
+static uint8_t eth_src[ETH_ADDR_LEN] = { 0x5e, 0x10, 0x8e, 0xe7, 0x84, 0xad };
/* LLDP multicast address */
static const uint8_t eth_addr_lldp[6] = {0x01, 0x80, 0xC2, 0x00, 0x00, 0x0e};
/* Count of tests run */
-int num_tests = 0;
+static int num_tests = 0;
/*