jsoninfo: move some variables around
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 26 Nov 2015 19:21:52 +0000 (20:21 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Fri, 27 Nov 2015 09:17:23 +0000 (10:17 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/jsoninfo/src/olsrd_jsoninfo.c

index 69db000..8a50195 100644 (file)
@@ -155,12 +155,12 @@ static size_t outbuffer_written[MAX_CLIENTS];
 static int outbuffer_socket[MAX_CLIENTS];
 static int outbuffer_count = 0;
 
 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];
 
 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
 /* JSON support functions */
 
 /* JSON does not allow commas dangling at the end of arrays, so we need to