From b476dc856431436ac0f3e0179f8a25302421a0cc Mon Sep 17 00:00:00 2001
From: Marvin Borner
Date: Mon, 5 Apr 2021 00:22:15 +0200
Subject: Added new randomization features

---
 libs/libc/inc/random.h | 1 +
 libs/libc/inc/sys.h    | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

(limited to 'libs/libc/inc')

diff --git a/libs/libc/inc/random.h b/libs/libc/inc/random.h
index 6360625..1b41df5 100644
--- a/libs/libc/inc/random.h
+++ b/libs/libc/inc/random.h
@@ -9,6 +9,7 @@
 
 void srand(u32 seed);
 u32 rand(void);
+void rand_fill(void *buf, u32 size);
 char *randstr(u32 size);
 
 #endif
diff --git a/libs/libc/inc/sys.h b/libs/libc/inc/sys.h
index b435899..58d7969 100644
--- a/libs/libc/inc/sys.h
+++ b/libs/libc/inc/sys.h
@@ -28,7 +28,6 @@ enum sys {
 	SYS_EXIT, // Exit current process
 	SYS_BOOT, // Boot functions (e.g. reboot/shutdown)
 	SYS_YIELD, // Switch to next process
-	SYS_TIME, // Get kernel time
 	/* SYS_NET_OPEN, // Open network socket */
 	/* SYS_NET_CLOSE, // Close network socket */
 	/* SYS_NET_CONNECT, // Connect to destination */
@@ -75,7 +74,6 @@ res poll(const char **files) NONNULL;
 res exec(const char *path, ...) ATTR((nonnull(1))) SENTINEL;
 res yield(void);
 res boot(u32 cmd);
-u32 time(void);
 
 res sys_alloc(u32 size, u32 *addr) NONNULL;
 res sys_free(void *ptr) NONNULL;
-- 
cgit v1.2.3