From: Ruben Kerkhof Date: Mon, 29 Feb 2016 22:26:00 +0000 (+0100) Subject: latency_counter_create: fix signature X-Git-Tag: collectd-5.5.2~6^2~32^2~11 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a740ee048e2dd48b007714123fc6ee47669379c4;p=collectd.git latency_counter_create: fix signature --- diff --git a/src/utils_latency.c b/src/utils_latency.c index a21b7e8d..efca6d29 100644 --- a/src/utils_latency.c +++ b/src/utils_latency.c @@ -24,14 +24,14 @@ * Florian Forster **/ +#include +#include + #include "collectd.h" #include "plugin.h" #include "utils_latency.h" #include "common.h" -#include -#include - #ifndef LLONG_MAX # define LLONG_MAX 9223372036854775807LL #endif @@ -117,7 +117,7 @@ static void change_bin_width (latency_counter_t *lc, cdtime_t latency) /* {{{ */ CDTIME_T_TO_DOUBLE (new_bin_width)); } /* }}} void change_bin_width */ -latency_counter_t *latency_counter_create () /* {{{ */ +latency_counter_t *latency_counter_create (void) /* {{{ */ { latency_counter_t *lc; diff --git a/src/utils_latency.h b/src/utils_latency.h index 3787c779..e7c2fc36 100644 --- a/src/utils_latency.h +++ b/src/utils_latency.h @@ -30,7 +30,7 @@ struct latency_counter_s; typedef struct latency_counter_s latency_counter_t; -latency_counter_t *latency_counter_create (); +latency_counter_t *latency_counter_create (void); void latency_counter_destroy (latency_counter_t *lc); void latency_counter_add (latency_counter_t *lc, cdtime_t latency);