info: rename a function
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 1 Dec 2015 18:22:18 +0000 (19:22 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 2 Dec 2015 19:54:16 +0000 (20:54 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/info/olsrd_info.c

index cbf6a13..786572f 100644 (file)
@@ -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);