write_tsdb: ansify function declaration
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 2 May 2018 11:17:13 +0000 (13:17 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 2 May 2018 11:17:13 +0000 (13:17 +0200)
src/write_tsdb.c

index 349b0d0..3f488a8 100644 (file)
@@ -152,7 +152,7 @@ static int wt_flush_nolock(cdtime_t timeout, struct wt_callback *cb) {
   return status;
 }
 
-static cdtime_t new_random_ttl() {
+static cdtime_t new_random_ttl(void) {
   if (resolve_jitter == 0)
     return 0;