summaryrefslogtreecommitdiff
path: root/LibC/stdlib.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-01 16:03:21 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-01 16:03:21 +0100
commit76f53b40f4f80fc692f90d3397516ae96872d966 (patch)
tree8702b9c29a1f1f9469c607e497b5a79b8d40bf8b /LibC/stdlib.h
parentfeed67ede2c7f41328625f58d1b92b5d2fce0c5d (diff)
downloadserenity-76f53b40f4f80fc692f90d3397516ae96872d966.zip
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.
Diffstat (limited to 'LibC/stdlib.h')
-rw-r--r--LibC/stdlib.h3
1 files changed, 3 insertions, 0 deletions
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