]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
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 349b0d0c6fd2d353d745438045f52b61627ecd09..3f488a893672542676c742aa075d007d7090f815 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;