aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/machine/xstormy16/mallocr.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/xstormy16/mallocr.c')
-rw-r--r--newlib/libc/machine/xstormy16/mallocr.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/newlib/libc/machine/xstormy16/mallocr.c b/newlib/libc/machine/xstormy16/mallocr.c
deleted file mode 100644
index 23e02f74c..000000000
--- a/newlib/libc/machine/xstormy16/mallocr.c
+++ /dev/null
@@ -1,33 +0,0 @@
-#include <malloc.h>
-
-#ifdef DEFINE_MALLOC
-_PTR
-_malloc_r (struct _reent *r, size_t sz)
-{
- return malloc (sz);
-}
-#endif
-
-#ifdef DEFINE_CALLOC
-_PTR
-_calloc_r (struct _reent *r, size_t a, size_t b)
-{
- return calloc (a, b);
-}
-#endif
-
-#ifdef DEFINE_FREE
-void
-_free_r (struct _reent *r, _PTR x)
-{
- free (x);
-}
-#endif
-
-#ifdef DEFINE_REALLOC
-_PTR
-_realloc_r (struct _reent *r, _PTR x, size_t sz)
-{
- return realloc (x, sz);
-}
-#endif