summaryrefslogtreecommitdiff
path: root/libc/stdlib
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/stdlib
parent43cfeab2dcf300fbe024aa341d146179b4cdc75a (diff)
Hide some of mem* and str*
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/ptsname.c2
-rw-r--r--libc/stdlib/setenv.c2
-rw-r--r--libc/stdlib/unix_grantpt.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/libc/stdlib/ptsname.c b/libc/stdlib/ptsname.c
index 677505953..4ed70427e 100644
--- a/libc/stdlib/ptsname.c
+++ b/libc/stdlib/ptsname.c
@@ -17,6 +17,8 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#define _uintmaxtostr __libc__uintmaxtostr
+
#define _ISOC99_SOURCE
#include <stdio.h>
#include <errno.h>
diff --git a/libc/stdlib/setenv.c b/libc/stdlib/setenv.c
index 2428ed92d..5545c6782 100644
--- a/libc/stdlib/setenv.c
+++ b/libc/stdlib/setenv.c
@@ -19,6 +19,8 @@
modified for uClibc by Erik Andersen <andersen@codepoet.org>
*/
+#define strndup __strndup
+
#define _GNU_SOURCE
#include <features.h>
#include <errno.h>
diff --git a/libc/stdlib/unix_grantpt.c b/libc/stdlib/unix_grantpt.c
index 4d1b56adf..d5e68b47e 100644
--- a/libc/stdlib/unix_grantpt.c
+++ b/libc/stdlib/unix_grantpt.c
@@ -17,6 +17,8 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#define memchr __memchr
+
#include <assert.h>
#include <errno.h>
#include <grp.h>