projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3144326
)
utils_random.c: add header for prototypes
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 29 Feb 2016 22:30:55 +0000
(23:30 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 29 Feb 2016 22:30:55 +0000
(23:30 +0100)
src/utils_random.c
patch
|
blob
|
history
diff --git
a/src/utils_random.c
b/src/utils_random.c
index
b873845
..
548d1d8
100644
(file)
--- a/
src/utils_random.c
+++ b/
src/utils_random.c
@@
-24,10
+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;