projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3329 from efuss/fix-3311
[collectd.git]
/
src
/
daemon
/
utils_random.h
diff --git
a/src/daemon/utils_random.h
b/src/daemon/utils_random.h
index
75bdc12
..
ff0022e
100644
(file)
--- a/
src/daemon/utils_random.h
+++ b/
src/daemon/utils_random.h
@@
-24,6
+24,9
@@
* Florian Forster <octo at collectd.org>
**/
* Florian Forster <octo at collectd.org>
**/
+#ifndef UTILS_RANDOM_H
+#define UTILS_RANDOM_H 1
+
/**
* Returns a random double value in the range [0..1), i.e. excluding 1.
*
/**
* Returns a random double value in the range [0..1), i.e. excluding 1.
*
@@
-46,3
+49,5
@@
uint32_t cdrand_u(void);
* outside the intended range. This function is thread- and reentrant-safe.
*/
long cdrand_range(long min, long max);
* outside the intended range. This function is thread- and reentrant-safe.
*/
long cdrand_range(long min, long max);
+
+#endif /* !UTILS_RANDOM_H */