[Olsr-dev] [PATCH v1 060/115] info: rename a function parameter

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


From: Ferry Huberts <(spam-protected)>

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 lib/info/olsrd_info.c | 4 ++--
 lib/info/olsrd_info.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/info/olsrd_info.c b/lib/info/olsrd_info.c
index 4d5a5a4..dbad9a8 100644
--- a/lib/info/olsrd_info.c
+++ b/lib/info/olsrd_info.c
@@ -413,10 +413,10 @@ static int plugin_ipc_init(void) {
  *This function is called by the my_init
  *function in uolsrd_plugin.c
  */
-int info_plugin_init(const char * plugin_name, info_plugin_functions_t *plugin_functions, info_plugin_config_t *config) {
+int info_plugin_init(const char * plugin_name, info_plugin_functions_t *plugin_functions, info_plugin_config_t *plugin_config) {
   functions = plugin_functions;
   PLUGIN_NAME = plugin_name;
-  info_plugin_config = config;
+  info_plugin_config = plugin_config;
 
   /* Initial IPC value */
   ipc_socket = -1;
diff --git a/lib/info/olsrd_info.h b/lib/info/olsrd_info.h
index 77c310d..8016549 100644
--- a/lib/info/olsrd_info.h
+++ b/lib/info/olsrd_info.h
@@ -44,7 +44,7 @@
 
 #include "info_types.h"
 
-int info_plugin_init(const char * plugin_name, info_plugin_functions_t *plugin_functions, info_plugin_config_t *config);
+int info_plugin_init(const char * plugin_name, info_plugin_functions_t *plugin_functions, info_plugin_config_t *plugin_config);
 void info_plugin_exit(void);
 
 #endif /* _OLSRD_LIB_INFO_OLSRD_INFO_H_ */
-- 
2.5.0




More information about the Olsr-dev mailing list