From 669a646f196368d5cd9e092cbcc95a4094ab3d17 Mon Sep 17 00:00:00 2001
From: Yasuyuki Tanaka <yatch1.tanaka@toshiba.co.jp>
Date: Sun, 5 Nov 2017 11:30:44 +0900
Subject: [PATCH] sixtop: bugfix adding a missing 'static' modifier

---
 examples/6tisch/sixtop/node-sixtop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/6tisch/sixtop/node-sixtop.c b/examples/6tisch/sixtop/node-sixtop.c
index 84598d331f..4c60db3a70 100755
--- a/examples/6tisch/sixtop/node-sixtop.c
+++ b/examples/6tisch/sixtop/node-sixtop.c
@@ -63,7 +63,7 @@ AUTOSTART_PROCESSES(&node_process);
 /*---------------------------------------------------------------------------*/
 PROCESS_THREAD(node_process, ev, data)
 {
-  int is_coordinator;
+  static int is_coordinator;
   static int added_num_of_links = 0;
   static struct etimer et;
   struct tsch_neighbor *n;
-- 
GitLab