diff options
Diffstat (limited to 'libc/random.c')
-rw-r--r-- | libc/random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/random.c b/libc/random.c index a2a8273..8c8076f 100644 --- a/libc/random.c +++ b/libc/random.c @@ -11,7 +11,7 @@ void srand(u32 seed) g_seed = seed; } -u32 rand() +u32 rand(void) { g_seed = g_seed * 1103515245 + 12345; return (g_seed >> 16) & 0x7FFF; |