txtinfo: rename txtinfo_write_data function
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 26 Nov 2015 13:58:59 +0000 (14:58 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Fri, 27 Nov 2015 09:17:21 +0000 (10:17 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/txtinfo/src/olsrd_txtinfo.c

index f286644..461d3c5 100644 (file)
@@ -756,7 +756,7 @@ static void ipc_print_interfaces(struct autobuf *abuf) {
   abuf_puts(abuf, "\n");
 }
 
-static void txtinfo_write_data(void *foo __attribute__ ((unused))) {
+static void info_write_data(void *foo __attribute__ ((unused))) {
   fd_set set;
   int result, i, j, max;
   struct timeval tv;
@@ -866,7 +866,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, &txtinfo_write_data, NULL, 0);
+    writetimer_entry = olsr_start_timer(100, 0, OLSR_TIMER_PERIODIC, &info_write_data, NULL, 0);
   }
 
   abuf_free(&abuf);