[Olsr-dev] [PATCH v1 052/115] jsoninfo: rename variable printer_functions to functions

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


From: Ferry Huberts <(spam-protected)>

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

diff --git a/lib/jsoninfo/src/olsrd_plugin.c b/lib/jsoninfo/src/olsrd_plugin.c
index 01c5fa8..acf6757 100644
--- a/lib/jsoninfo/src/olsrd_plugin.c
+++ b/lib/jsoninfo/src/olsrd_plugin.c
@@ -53,7 +53,7 @@
 #define MOD_DESC PLUGIN_TITLE " " PLUGIN_VERSION " by " PLUGIN_AUTHOR
 #define PLUGIN_INTERFACE_VERSION 5
 
-static info_plugin_functions_t printer_functions = { //
+static info_plugin_functions_t functions = { //
     //
         .init = &plugin_init, //
         .is_command = &isCommand, //
@@ -129,7 +129,7 @@ static void my_fini(void) {
  *function in uolsrd_plugin.c
  */
 int olsrd_plugin_init(void) {
-  return info_plugin_init(PLUGIN_NAME, &printer_functions, &info_plugin_config);
+  return info_plugin_init(PLUGIN_NAME, &functions, &info_plugin_config);
 }
 
 /**
-- 
2.5.0




More information about the Olsr-dev mailing list