jsoninfo: define the uuidfile extern in the proper place
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 2 Dec 2015 17:48:41 +0000 (18:48 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 3 Dec 2015 11:00:09 +0000 (12:00 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/jsoninfo/src/olsrd_jsoninfo.c
lib/jsoninfo/src/olsrd_plugin.h

index 2be95c6..67f163d 100644 (file)
@@ -57,8 +57,6 @@
 #include "olsrd_plugin.h"
 #include "../../info/info_types.h"
 
-extern char uuidfile[FILENAME_MAX];
-
 struct timeval start_time;
 
 void plugin_init(const char *plugin_name) {
index 7f9bfa3..71cb635 100644 (file)
@@ -50,6 +50,7 @@
 #include "../../info/info_types.h"
 
 extern info_plugin_config_t config;
+extern char uuidfile[FILENAME_MAX];
 
 int olsrd_plugin_interface_version(void);
 int olsrd_plugin_init(void);