summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/_WRITE.c4
-rw-r--r--libc/stdio/fclose.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/libc/stdio/_WRITE.c b/libc/stdio/_WRITE.c
index c2b0e7b5d..2bd0977fd 100644
--- a/libc/stdio/_WRITE.c
+++ b/libc/stdio/_WRITE.c
@@ -5,10 +5,10 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
-#define write __write
-
#include "_stdio.h"
+libc_hidden_proto(write)
+
/* Given a writing stream with no buffered output, write the
* data in 'buf' (which may be the stream's bufstart) of size
* 'bufsize' to the stream. If a write error occurs, set the
diff --git a/libc/stdio/fclose.c b/libc/stdio/fclose.c
index fc770dce8..ec735d100 100644
--- a/libc/stdio/fclose.c
+++ b/libc/stdio/fclose.c
@@ -5,8 +5,6 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
-#define close __close
-
#include "_stdio.h"
libc_hidden_proto(close)