summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-04-10 10:32:37 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-04-13 00:40:02 +0800
commit0d7def52035b4a4fd73a54a81155fc7400fdbdcd (patch)
treeb5dd9c74598f90ff50ead903491b80600591c496 /tools
parentbddd7f8332e373dd6399b3c234f1b1f74af0bdd0 (diff)
downloadconnman-0d7def52035b4a4fd73a54a81155fc7400fdbdcd.tar.gz
connman-0d7def52035b4a4fd73a54a81155fc7400fdbdcd.tar.bz2
connman-0d7def52035b4a4fd73a54a81155fc7400fdbdcd.zip
tools: Make message buffers static
Diffstat (limited to 'tools')
-rw-r--r--tools/dnsproxy-unit.c6
1 files changed, 3 insertions, 3 deletions
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 */
};