summaryrefslogtreecommitdiff
path: root/source/kit/secure_random.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/kit/secure_random.c')
-rw-r--r--source/kit/secure_random.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/kit/secure_random.c b/source/kit/secure_random.c
index 02b168b..2f53866 100644
--- a/source/kit/secure_random.c
+++ b/source/kit/secure_random.c
@@ -1,5 +1,7 @@
#include "secure_random.h"
+#include "status.h"
+
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
@@ -14,7 +16,7 @@
# include <unistd.h>
#endif
-kit_status_t kit_secure_random(i64 size, void *data) {
+s32 kit_secure_random(i64 size, void *data) {
assert(size >= 0);
assert(data != NULL);