summaryrefslogtreecommitdiff
path: root/libc/include/bsd/stdlib.h
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>1996-05-31 21:33:17 +0200
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:30:46 +0200
commite85ee07172eccafd9441362e774f7b184810d008 (patch)
tree5dc12259ab7a61b12d9df284fe58ad5cb312c526 /libc/include/bsd/stdlib.h
parentdcc973ea3e31710429858c99d4f040334ac67c06 (diff)
downloaddev86-e85ee07172eccafd9441362e774f7b184810d008.tar.gz
Import Dev86-0.0.6.tar.gzv0.0.6
Diffstat (limited to 'libc/include/bsd/stdlib.h')
-rw-r--r--libc/include/bsd/stdlib.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libc/include/bsd/stdlib.h b/libc/include/bsd/stdlib.h
new file mode 100644
index 0000000..20d34f9
--- /dev/null
+++ b/libc/include/bsd/stdlib.h
@@ -0,0 +1,12 @@
+/* some things shouldn't be macros, get out your barf bag */
+
+#ifndef _BSD_STDLIB_H
+#define _BSD_STDLIB_H
+
+#undef __MALLOC_0_RETURNS_NULL
+#define __MALLOC_0_RETURNS_NULL
+#include_next <stdlib.h>
+#undef atoi
+#undef atol
+
+#endif /* _BSD_STDLIB_H */