summaryrefslogtreecommitdiffstats
path: root/src/c/rand/rand/rand_uniform.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/rand/rand/rand_uniform.c')
-rw-r--r--src/c/rand/rand/rand_uniform.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/c/rand/rand/rand_uniform.c b/src/c/rand/rand/rand_uniform.c
new file mode 100644
index 0000000..840f6f8
--- /dev/null
+++ b/src/c/rand/rand/rand_uniform.c
@@ -0,0 +1,11 @@
+// Copyright 2022 Alejandro Colomar <alx@kernel.org>
+// SPDX-License-Identifier: LGPL-3.0-or-later WITH LGPL-3.0-linking-exception
+
+
+#include <c/rand/rand/rand_uniform.h>
+
+
+#pragma clang assume_nonnull begin
+extern inline int c_rand_uniform(unsigned int n);
+extern inline int c_rand_interval(unsigned int min, unsigned int max);
+#pragma clang assume_nonnull end