summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-06 04:47:31 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-06 04:47:31 +0000
commit3ce6992e99833946b05947f2e3d33a2e96423a84 (patch)
tree4ef10a9d025a627a668fd47b89a9c1c79d99e58b /libc/stdio
parent17cb1552310b7745c873ab98580d3ea0ed91878e (diff)
use hidden read/write symbols
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/_READ.c2
-rw-r--r--libc/stdio/_WRITE.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/libc/stdio/_READ.c b/libc/stdio/_READ.c
index 013ca0281..e27309c11 100644
--- a/libc/stdio/_READ.c
+++ b/libc/stdio/_READ.c
@@ -5,6 +5,8 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#define read __read
+
#include "_stdio.h"
/* Given a reading stream without its end-of-file indicator set and
diff --git a/libc/stdio/_WRITE.c b/libc/stdio/_WRITE.c
index 877d055f7..c2b0e7b5d 100644
--- a/libc/stdio/_WRITE.c
+++ b/libc/stdio/_WRITE.c
@@ -5,6 +5,8 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#define write __write
+
#include "_stdio.h"
/* Given a writing stream with no buffered output, write the