[Olsr-dev] [PATCH v1 43/44] jsoninfo: move some variables around

Ferry Huberts (spam-protected)
Fri Nov 27 10:43:36 CET 2015


From: Ferry Huberts <(spam-protected)>

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 lib/jsoninfo/src/olsrd_jsoninfo.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/jsoninfo/src/olsrd_jsoninfo.c b/lib/jsoninfo/src/olsrd_jsoninfo.c
index 69db000..8a50195 100644
--- a/lib/jsoninfo/src/olsrd_jsoninfo.c
+++ b/lib/jsoninfo/src/olsrd_jsoninfo.c
@@ -155,12 +155,12 @@ static size_t outbuffer_written[MAX_CLIENTS];
 static int outbuffer_socket[MAX_CLIENTS];
 static int outbuffer_count = 0;
 
+static struct timer_entry *writetimer_entry;
+static struct timeval start_time;
+
 char uuid[UUIDLEN + 1];
 char uuidfile[FILENAME_MAX];
 
-static struct timeval start_time;
-static struct timer_entry *writetimer_entry;
-
 /* JSON support functions */
 
 /* JSON does not allow commas dangling at the end of arrays, so we need to
-- 
2.5.0




More information about the Olsr-dev mailing list