projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
collectd.conf(5): Document the gRPC plugin.
[collectd.git]
/
src
/
daemon
/
utils_random.c
diff --git
a/src/daemon/utils_random.c
b/src/daemon/utils_random.c
index
548d1d8
..
fee0871
100644
(file)
--- a/
src/daemon/utils_random.c
+++ b/
src/daemon/utils_random.c
@@
-24,12
+24,12
@@
* Florian Forster <octo at collectd.org>
**/
-#include <pthread.h>
-
#include "collectd.h"
#include "utils_time.h"
#include "utils_random.h"
+#include <pthread.h>
+
static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
static _Bool have_seed = 0;