From 74754182f90bf6ea2d2df5f1d0c93dfcf233c1a4 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 5 Mar 2016 19:09:13 +0100 Subject: [PATCH] processes plugin: fix one more old-style prototype --- src/processes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2