summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5a3ac16)
raw | patch | inline | side by side (parent: 5a3ac16)
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 b4a06af0ef5f4cbba1423378c1a43b9b0aca465e..d0d736154281f7f9819825d346c1a16b1e44b45d 100644 (file)
--- a/src/processes.c
+++ b/src/processes.c
* 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;