[Olsr-dev] [PATCH v1 115/115] jsoninfo: define the uuidfile extern in the proper place

Ferry Huberts (spam-protected)
Wed Dec 2 21:29:28 CET 2015


From: Ferry Huberts <(spam-protected)>

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 lib/jsoninfo/src/olsrd_jsoninfo.c | 2 --
 lib/jsoninfo/src/olsrd_plugin.h   | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/jsoninfo/src/olsrd_jsoninfo.c b/lib/jsoninfo/src/olsrd_jsoninfo.c
index 2be95c6..67f163d 100644
--- a/lib/jsoninfo/src/olsrd_jsoninfo.c
+++ b/lib/jsoninfo/src/olsrd_jsoninfo.c
@@ -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) {
diff --git a/lib/jsoninfo/src/olsrd_plugin.h b/lib/jsoninfo/src/olsrd_plugin.h
index 7f9bfa3..71cb635 100644
--- a/lib/jsoninfo/src/olsrd_plugin.h
+++ b/lib/jsoninfo/src/olsrd_plugin.h
@@ -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);
-- 
2.5.0




More information about the Olsr-dev mailing list