tools: Make message buffers static
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Wed, 10 Apr 2013 07:32:37 +0000 (10:32 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 12 Apr 2013 16:40:02 +0000 (00:40 +0800)
tools/dnsproxy-unit.c

index 1d0e66d..418767a 100644 (file)
@@ -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 */
 };