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

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


From: Ferry Huberts <(spam-protected)>

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

diff --git a/lib/info/olsrd_info.c b/lib/info/olsrd_info.c
index cbf6a13..786572f 100644
--- a/lib/info/olsrd_info.c
+++ b/lib/info/olsrd_info.c
@@ -127,7 +127,7 @@ static void determine_action(unsigned int *send_what, char *requ) {
   }
 }
 
-static void info_write_data(void *foo __attribute__ ((unused))) {
+static void write_data(void *foo __attribute__ ((unused))) {
   fd_set set;
   int result, i, j, max;
   struct timeval tv;
@@ -248,7 +248,7 @@ static void send_info(unsigned int send_what, int the_socket) {
   outbuffer.count++;
 
   if (outbuffer.count == 1) {
-    writetimer_entry = olsr_start_timer(100, 0, OLSR_TIMER_PERIODIC, &info_write_data, NULL, 0);
+    writetimer_entry = olsr_start_timer(100, 0, OLSR_TIMER_PERIODIC, &write_data, NULL, 0);
   }
 
   abuf_free(&abuf);
-- 
2.5.0




More information about the Olsr-dev mailing list