summaryrefslogtreecommitdiffstats
path: root/libc/inet/resolv.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-12-11 15:59:01 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-12-11 15:59:01 +0000
commit2b2777ad0e64745fe5fea5f685b23fe64545dfc3 (patch)
tree41a72d94306c3f588067affd3ec86f37793539dc /libc/inet/resolv.c
parent5d730fc3279001da96592940559bf7df00e6141d (diff)
downloaduClibc-alpine-2b2777ad0e64745fe5fea5f685b23fe64545dfc3.tar.bz2
uClibc-alpine-2b2777ad0e64745fe5fea5f685b23fe64545dfc3.tar.xz
Removed some __libc_xxx fucntions as merged from trunk.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/inet/resolv.c')
-rw-r--r--libc/inet/resolv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index f681c372f..86f189a5f 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -219,8 +219,8 @@ libc_hidden_proto(__h_errno_location)
#elif defined __UCLIBC_HAS_CTYPE_TABLES__
/* libc_hidden_proto(__ctype_b) */
#endif
-int __libc_getdomainname(char *name, size_t len);
-libc_hidden_proto(__libc_getdomainname)
+int getdomainname(char *name, size_t len);
+libc_hidden_proto(getdomainname)
#define MAX_RECURSE 5
@@ -1940,7 +1940,7 @@ BAD_FAM:
if (h) {
char *c;
if ((flags & NI_NOFQDN)
- && (__libc_getdomainname (domain, sizeof(domain)) == 0)
+ && (getdomainname (domain, sizeof(domain)) == 0)
&& (c = strstr (h->h_name, domain))
&& (c != h->h_name) && (*(--c) == '.')) {
strncpy (host, h->h_name,