Found by sparse. Signed-off-by: Ben Pfaff <b...@nicira.com> --- tests/test-aa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/test-aa.c b/tests/test-aa.c index c3f5f3a..58c20c8 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; /* -- 2.1.3 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev