From 76f53b40f4f80fc692f90d3397516ae96872d966 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 1 Feb 2019 16:03:21 +0100 Subject: LibC: Add some things needed to build GNU bc. This patch adds vprintf(), sig_atomic_t, random() and strdup(). bc doesn't build yet, but it will. --- LibC/stdlib.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'LibC/stdlib.h') diff --git a/LibC/stdlib.h b/LibC/stdlib.h index 7af51814ae..028e9d4a91 100644 --- a/LibC/stdlib.h +++ b/LibC/stdlib.h @@ -26,5 +26,8 @@ int abs(int); int rand(); void srand(unsigned seed); +long int random(); +void srandom(unsigned seed); + __END_DECLS -- cgit v1.2.3