summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/random.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/random.h b/src/include/random.h
index 589254e89f..5be918fa77 100644
--- a/src/include/random.h
+++ b/src/include/random.h
@@ -2,13 +2,13 @@
#ifndef _RANDOM_H_
#define _RANDOM_H_
-#include <stdint.h>
+#include <types.h>
/*
* Generates a 32/64 bit random number respectively.
* return 0 on success and -1 on error.
*/
-int get_random_number_32(uint32_t *rand);
-int get_random_number_64(uint64_t *rand);
+enum cb_err get_random_number_32(uint32_t *rand);
+enum cb_err get_random_number_64(uint64_t *rand);
#endif /* _RANDOM_H_ */