projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a3ac16
)
processes plugin: fix one more old-style prototype
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 18:09:13 +0000
(19:09 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 18:09:13 +0000
(19:09 +0100)
src/processes.c
patch
|
blob
|
history
diff --git
a/src/processes.c
b/src/processes.c
index
b4a06af
..
d0d7361
100644
(file)
--- 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;