Code

src/plugin.[ch]: Change the flush callbacks to take a "cdtime_t".
[collectd.git] / src / network.c
index 93d403f9c3b3f760480927bcb8ba1112cd2c8853..94856b40e62b4eebb25e61f6a4b313943ae6b584 100644 (file)
@@ -3351,9 +3351,9 @@ static int network_init (void)
  * just send the buffer if `flush'  is called - if the requested value was in
  * there, good. If not, well, then there is nothing to flush.. -octo
  */
-static int network_flush (int timeout,
-               const char __attribute__((unused)) *identifier,
-               user_data_t __attribute__((unused)) *user_data)
+static int network_flush (__attribute__((unused)) cdtime_t timeout,
+               __attribute__((unused)) const char *identifier,
+               __attribute__((unused)) user_data_t *user_data)
 {
        pthread_mutex_lock (&send_buffer_lock);