summaryrefslogtreecommitdiff
path: root/libc/inet
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/inet
parent43cfeab2dcf300fbe024aa341d146179b4cdc75a (diff)
Hide some of mem* and str*
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/addr.c4
-rw-r--r--libc/inet/getaddrinfo.c2
-rw-r--r--libc/inet/getproto.c2
-rw-r--r--libc/inet/getservice.c1
-rw-r--r--libc/inet/ntop.c2
-rw-r--r--libc/inet/resolv.c5
6 files changed, 16 insertions, 0 deletions
diff --git a/libc/inet/addr.c b/libc/inet/addr.c
index 5c4005a18..35b590073 100644
--- a/libc/inet/addr.c
+++ b/libc/inet/addr.c
@@ -16,6 +16,10 @@
* Changed to use _int10tostr.
*/
+#define _uintmaxtostr __libc__uintmaxtostr
+/* for some reason this does not work here */
+#define memmove __memmove
+
#define _GNU_SOURCE
#define __FORCE_GLIBC
#include <features.h>
diff --git a/libc/inet/getaddrinfo.c b/libc/inet/getaddrinfo.c
index 553d5a944..228e04f97 100644
--- a/libc/inet/getaddrinfo.c
+++ b/libc/inet/getaddrinfo.c
@@ -44,6 +44,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/* This software is Copyright 1996 by Craig Metz, All Rights Reserved. */
+#define memcpy __memcpy
+
#define _GNU_SOURCE
#define __FORCE_GLIBC
#include <features.h>
diff --git a/libc/inet/getproto.c b/libc/inet/getproto.c
index c9f35f149..85b9fc26f 100644
--- a/libc/inet/getproto.c
+++ b/libc/inet/getproto.c
@@ -51,6 +51,8 @@
** SUCH DAMAGE.
*/
+#define strpbrk __strpbrk
+
#define __FORCE_GLIBC
#define _GNU_SOURCE
#include <features.h>
diff --git a/libc/inet/getservice.c b/libc/inet/getservice.c
index cbe5c503b..a8279e4db 100644
--- a/libc/inet/getservice.c
+++ b/libc/inet/getservice.c
@@ -51,6 +51,7 @@
** SUCH DAMAGE.
*/
+#define strpbrk __strpbrk
#define __FORCE_GLIBC
#define _GNU_SOURCE
diff --git a/libc/inet/ntop.c b/libc/inet/ntop.c
index 35c302950..3a9f5f477 100644
--- a/libc/inet/ntop.c
+++ b/libc/inet/ntop.c
@@ -15,6 +15,8 @@
* SOFTWARE.
*/
+#define memmove __memmove
+
#define __FORCE_GLIBC
#include <features.h>
#include <sys/param.h>
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index 9104c2456..01ccdb819 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -133,6 +133,11 @@
*
*/
+#define memmove __memmove
+#define strnlen __strnlen
+#define strncat __strncat
+#define strstr __strstr
+
#define __FORCE_GLIBC
#include <features.h>
#include <string.h>