summaryrefslogtreecommitdiff
path: root/bsp/libwrap/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/libwrap/stdlib')
-rw-r--r--bsp/libwrap/stdlib/malloc.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/bsp/libwrap/stdlib/malloc.c b/bsp/libwrap/stdlib/malloc.c
deleted file mode 100644
index 8f4f432..0000000
--- a/bsp/libwrap/stdlib/malloc.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* See LICENSE for license details. */
-
-/* These functions are intended for embedded RV32 systems and are
- obviously incorrect in general. */
-
-void* __wrap_malloc(unsigned long sz)
-{
- extern void* sbrk(long);
- void* res = sbrk(sz);
- if ((long)res == -1)
- return 0;
- return res;
-}
-
-void __wrap_free(void* ptr)
-{
-}