From: Ruben Kerkhof Date: Sat, 5 Mar 2016 18:09:13 +0000 (+0100) Subject: processes plugin: fix one more old-style prototype X-Git-Tag: collectd-5.6.0~408 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=74754182f90bf6ea2d2df5f1d0c93dfcf233c1a4;p=collectd.git processes plugin: fix one more old-style prototype --- diff --git a/src/processes.c b/src/processes.c index b4a06af0..d0d73615 100644 --- a/src/processes.c +++ b/src/processes.c @@ -1450,7 +1450,7 @@ static int ps_read_process(long pid, procstat_t *ps, char *state) * are retrieved from kstat (module cpu, name sys, class misc, stat nthreads). * The result is the sum for all the threads created on each cpu */ -static int read_fork_rate() +static int read_fork_rate (void) { extern kstat_ctl_t *kc; kstat_t *ksp_chain = NULL;