aboutsummaryrefslogtreecommitdiff
path: root/libs/libc/inc/random.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libc/inc/random.h')
-rw-r--r--libs/libc/inc/random.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/libs/libc/inc/random.h b/libs/libc/inc/random.h
deleted file mode 100644
index 1b41df5..0000000
--- a/libs/libc/inc/random.h
+++ /dev/null
@@ -1,15 +0,0 @@
-// MIT License, Copyright (c) 2020 Marvin Borner
-
-#ifndef RANDOM_H
-#define RANDOM_H
-
-#include <def.h>
-
-#define rand_range(min, max) (rand() % ((max) + 1 - (min)) + (min))
-
-void srand(u32 seed);
-u32 rand(void);
-void rand_fill(void *buf, u32 size);
-char *randstr(u32 size);
-
-#endif