summaryrefslogtreecommitdiff
path: root/LibC/stdlib.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-11-17 15:56:09 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-11-17 15:56:09 +0100
commit303577df16cf990d1c0cb2c83cd8a954258809ba (patch)
tree44465262dd4225bb6e4ea01173bc58e072891818 /LibC/stdlib.h
parente440c3fa87d69d77c6af390d33f535c67c91f8b9 (diff)
downloadserenity-303577df16cf990d1c0cb2c83cd8a954258809ba.zip
Various stubs while trying to get an old coreutils to build.
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 243b98693f..c88d0ff597 100644
--- a/LibC/stdlib.h
+++ b/LibC/stdlib.h
@@ -5,6 +5,9 @@
__BEGIN_DECLS
+#define EXIT_SUCCESS 0
+#define EXIT_FAILURE 1
+
void* malloc(size_t) __MALLOC;
void free(void*);
void* calloc(size_t nmemb, size_t);