From 0d7def52035b4a4fd73a54a81155fc7400fdbdcd Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Wed, 10 Apr 2013 10:32:37 +0300 Subject: tools: Make message buffers static --- tools/dnsproxy-unit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/dnsproxy-unit.c b/tools/dnsproxy-unit.c index 1d0e66d2..418767a8 100644 --- a/tools/dnsproxy-unit.c +++ b/tools/dnsproxy-unit.c @@ -50,7 +50,7 @@ #define LOG(fmt, arg...) #endif -unsigned char msg[] = { +static unsigned char msg[] = { 0x00, 0x1c, /* len 28 */ 0x31, 0x82, /* tran id */ 0x01, 0x00, /* flags (recursion required) */ @@ -65,7 +65,7 @@ unsigned char msg[] = { 0x00, 0x01, /* class IN */ }; -unsigned char msg2[] = { +static unsigned char msg2[] = { 0x00, 0x1c, /* len 28 */ 0x31, 0x83, /* tran id */ 0x01, 0x00, /* flags (recursion required) */ @@ -93,7 +93,7 @@ unsigned char msg2[] = { 0x00, 0x01, /* class IN */ }; -unsigned char msg_invalid[] = { +static unsigned char msg_invalid[] = { 0x00, 0x1c, /* len 28 */ 0x31, 0xC0, /* tran id */ }; -- cgit v1.2.3