projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-5.5' into collectd-5.6
[collectd.git]
/
src
/
daemon
/
utils_random.c
diff --git
a/src/daemon/utils_random.c
b/src/daemon/utils_random.c
index
b873845
..
0488f91
100644
(file)
--- a/
src/daemon/utils_random.c
+++ b/
src/daemon/utils_random.c
@@
-25,10
+25,13
@@
**/
#include "collectd.h"
**/
#include "collectd.h"
+
#include "utils_time.h"
#include "utils_time.h"
+#include "utils_random.h"
#include <pthread.h>
#include <pthread.h>
+
static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
static _Bool have_seed = 0;
static unsigned short seed[3];
static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
static _Bool have_seed = 0;
static unsigned short seed[3];