summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-27 00:24:52 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-27 00:24:52 +0000
commitde77369cf4e80cb3c5ec250a25d2237df4abba11 (patch)
tree2b009a3af825a43ef30bae8ac512b9b9686c3ad8 /libc/stdio
parent43cfeab2dcf300fbe024aa341d146179b4cdc75a (diff)
Hide some of mem* and str*
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/_fwrite.c3
-rw-r--r--libc/stdio/_stdio.h2
-rw-r--r--libc/stdio/_wfwrite.c2
-rw-r--r--libc/stdio/old_vfprintf.c1
-rw-r--r--libc/stdio/vfprintf.c1
5 files changed, 8 insertions, 1 deletions
diff --git a/libc/stdio/_fwrite.c b/libc/stdio/_fwrite.c
index d9d0bc2a8..6657b0849 100644
--- a/libc/stdio/_fwrite.c
+++ b/libc/stdio/_fwrite.c
@@ -5,6 +5,9 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#define memrchr __memrchr
+#define memchr __memchr
+
#include "_stdio.h"
#ifdef __STDIO_BUFFERS
diff --git a/libc/stdio/_stdio.h b/libc/stdio/_stdio.h
index acc6068c7..e5d3c0787 100644
--- a/libc/stdio/_stdio.h
+++ b/libc/stdio/_stdio.h
@@ -7,6 +7,7 @@
#define _GNU_SOURCE
+#include <features.h>
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
@@ -17,7 +18,6 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <features.h>
#ifdef __UCLIBC_HAS_WCHAR__
#include <wchar.h>
diff --git a/libc/stdio/_wfwrite.c b/libc/stdio/_wfwrite.c
index 0febbf45a..792cff604 100644
--- a/libc/stdio/_wfwrite.c
+++ b/libc/stdio/_wfwrite.c
@@ -5,6 +5,8 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#define wmemcpy __wmemcpy
+
#include "_stdio.h"
#include <wchar.h>
diff --git a/libc/stdio/old_vfprintf.c b/libc/stdio/old_vfprintf.c
index 36e4d89b9..97049d379 100644
--- a/libc/stdio/old_vfprintf.c
+++ b/libc/stdio/old_vfprintf.c
@@ -128,6 +128,7 @@
/**************************************************************************/
#define _uintmaxtostr __libc__uintmaxtostr
+#define strnlen __strnlen
#define _ISOC99_SOURCE /* for ULLONG primarily... */
#define _GNU_SOURCE /* for strnlen */
diff --git a/libc/stdio/vfprintf.c b/libc/stdio/vfprintf.c
index 5f13a8eed..2adcefde5 100644
--- a/libc/stdio/vfprintf.c
+++ b/libc/stdio/vfprintf.c
@@ -89,6 +89,7 @@
*/
#define _uintmaxtostr __libc__uintmaxtostr
+#define strnlen __strnlen
#define _ISOC99_SOURCE /* for ULLONG primarily... */
#define _GNU_SOURCE