about summary refs log tree commit diff
path: root/malloc
diff options
context:
space:
mode:
Diffstat (limited to 'malloc')
-rw-r--r--malloc/mtrace.c3
-rw-r--r--malloc/obstack.c3
2 files changed, 1 insertions, 5 deletions
diff --git a/malloc/mtrace.c b/malloc/mtrace.c
index 52347ea117..d9960bdaf3 100644
--- a/malloc/mtrace.c
+++ b/malloc/mtrace.c
@@ -36,11 +36,8 @@
 
 #ifdef _LIBC
 # include <libc-internal.h>
-#endif
 
-#ifdef USE_IN_LIBIO
 # include <libio/iolibio.h>
-# define fopen(f, n) _IO_fopen64 (f, n)
 # define setvbuf(s, b, f, l) INTUSE(_IO_setvbuf) (s, b, f, l)
 # define fwrite(buf, size, count, fp) _IO_fwrite (buf, size, count, fp)
 #endif
diff --git a/malloc/obstack.c b/malloc/obstack.c
index 63e4b8064b..5c5e8b09d8 100644
--- a/malloc/obstack.c
+++ b/malloc/obstack.c
@@ -475,9 +475,8 @@ _obstack_memory_used (h)
 #   define _(Str) (Str)
 #  endif
 # endif
-# if defined _LIBC && defined USE_IN_LIBIO
+# ifdef _LIBC
 #  include <libio/iolibio.h>
-#  define fputs(s, f) _IO_fputs (s, f)
 # endif
 
 # ifndef __attribute__