summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/getaddrinfo.c1
-rw-r--r--libc/inet/herror.c1
-rw-r--r--libc/inet/resolv.c1
-rw-r--r--libc/inet/rpc/clnt_tcp.c1
-rw-r--r--libc/inet/rpc/clnt_unix.c1
-rw-r--r--libc/inet/rpc/pmap_clnt.c1
-rw-r--r--libc/inet/rpc/pmap_getmaps.c3
-rw-r--r--libc/inet/rpc/pmap_getport.c2
-rw-r--r--libc/inet/rpc/pmap_prot.c2
-rw-r--r--libc/inet/rpc/pmap_prot2.c3
-rw-r--r--libc/inet/rpc/pmap_rmt.c3
-rw-r--r--libc/inet/rpc/rcmd.c1
-rw-r--r--libc/inet/rpc/svc_simple.c1
-rw-r--r--libc/inet/rpc/xdr.c4
14 files changed, 25 insertions, 0 deletions
diff --git a/libc/inet/getaddrinfo.c b/libc/inet/getaddrinfo.c
index 48cb3a19d..0aa86f1ab 100644
--- a/libc/inet/getaddrinfo.c
+++ b/libc/inet/getaddrinfo.c
@@ -85,6 +85,7 @@ libc_hidden_proto(inet_pton)
libc_hidden_proto(inet_ntop)
libc_hidden_proto(strtoul)
libc_hidden_proto(if_nametoindex)
+libc_hidden_proto(__h_errno_location)
/* libc_hidden_proto(uname) */
#ifdef __UCLIBC_HAS_IPV6__
libc_hidden_proto(in6addr_loopback)
diff --git a/libc/inet/herror.c b/libc/inet/herror.c
index cfcf0e23a..063f6e93e 100644
--- a/libc/inet/herror.c
+++ b/libc/inet/herror.c
@@ -24,6 +24,7 @@
#include <netdb.h>
libc_hidden_proto(fprintf)
+libc_hidden_proto(__h_errno_location)
static const char *error_msg = "Resolver error";
static const char *const h_errlist[] = {
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index 8be057aeb..7ebaaca2d 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -199,6 +199,7 @@ libc_hidden_proto(res_query)
libc_hidden_proto(res_querydomain)
libc_hidden_proto(gethostent_r)
libc_hidden_proto(fprintf)
+libc_hidden_proto(__h_errno_location)
#define MAX_RECURSE 5
#define REPLY_TIMEOUT 10
diff --git a/libc/inet/rpc/clnt_tcp.c b/libc/inet/rpc/clnt_tcp.c
index 50e5c4cc1..349e89f39 100644
--- a/libc/inet/rpc/clnt_tcp.c
+++ b/libc/inet/rpc/clnt_tcp.c
@@ -77,6 +77,7 @@ libc_hidden_proto(xdr_callhdr)
libc_hidden_proto(xdr_replymsg)
libc_hidden_proto(xdr_opaque_auth)
libc_hidden_proto(xdrmem_create)
+libc_hidden_proto(xdr_void)
libc_hidden_proto(pmap_getport)
libc_hidden_proto(_seterr_reply)
libc_hidden_proto(connect)
diff --git a/libc/inet/rpc/clnt_unix.c b/libc/inet/rpc/clnt_unix.c
index ee4dba6d0..82f994e51 100644
--- a/libc/inet/rpc/clnt_unix.c
+++ b/libc/inet/rpc/clnt_unix.c
@@ -76,6 +76,7 @@ libc_hidden_proto(xdr_callhdr)
libc_hidden_proto(xdr_replymsg)
libc_hidden_proto(xdr_opaque_auth)
libc_hidden_proto(xdrmem_create)
+libc_hidden_proto(xdr_void)
libc_hidden_proto(getegid)
libc_hidden_proto(geteuid)
libc_hidden_proto(_seterr_reply)
diff --git a/libc/inet/rpc/pmap_clnt.c b/libc/inet/rpc/pmap_clnt.c
index 03a1d3321..c4bce4f3b 100644
--- a/libc/inet/rpc/pmap_clnt.c
+++ b/libc/inet/rpc/pmap_clnt.c
@@ -56,6 +56,7 @@ libc_hidden_proto(exit)
libc_hidden_proto(clnt_perror)
libc_hidden_proto(clntudp_bufcreate)
libc_hidden_proto(xdr_bool)
+libc_hidden_proto(xdr_pmap)
/*
* Same as get_myaddress, but we try to use the loopback
diff --git a/libc/inet/rpc/pmap_getmaps.c b/libc/inet/rpc/pmap_getmaps.c
index 1ea3052ab..79c30d94f 100644
--- a/libc/inet/rpc/pmap_getmaps.c
+++ b/libc/inet/rpc/pmap_getmaps.c
@@ -49,6 +49,9 @@ static char sccsid[] = "@(#)pmap_getmaps.c 1.10 87/08/11 Copyr 1984 Sun Micro";
libc_hidden_proto(clnt_perror)
libc_hidden_proto(clnttcp_create)
+libc_hidden_proto(xdr_pmap)
+libc_hidden_proto(xdr_pmaplist)
+libc_hidden_proto(xdr_void)
/*
* Get a copy of the current port maps.
diff --git a/libc/inet/rpc/pmap_getport.c b/libc/inet/rpc/pmap_getport.c
index b5e82924d..fe3ed82f8 100644
--- a/libc/inet/rpc/pmap_getport.c
+++ b/libc/inet/rpc/pmap_getport.c
@@ -45,6 +45,8 @@ static char sccsid[] = "@(#)pmap_getport.c 1.9 87/08/11 Copyr 1984 Sun Micro";
libc_hidden_proto(clntudp_bufcreate)
libc_hidden_proto(__rpc_thread_createerr)
+libc_hidden_proto(xdr_u_short)
+libc_hidden_proto(xdr_pmap)
static const struct timeval timeout =
{5, 0};
diff --git a/libc/inet/rpc/pmap_prot.c b/libc/inet/rpc/pmap_prot.c
index 29f142ffa..0ae2c88f3 100644
--- a/libc/inet/rpc/pmap_prot.c
+++ b/libc/inet/rpc/pmap_prot.c
@@ -44,6 +44,7 @@ static char sccsid[] = "@(#)pmap_prot.c 1.17 87/08/11 Copyr 1984 Sun Micro";
libc_hidden_proto(xdr_u_long)
+libc_hidden_proto(xdr_pmap)
bool_t
xdr_pmap (xdrs, regs)
XDR *xdrs;
@@ -56,3 +57,4 @@ xdr_pmap (xdrs, regs)
return xdr_u_long (xdrs, &regs->pm_port);
return FALSE;
}
+libc_hidden_def(xdr_pmap)
diff --git a/libc/inet/rpc/pmap_prot2.c b/libc/inet/rpc/pmap_prot2.c
index 187b19e8c..5adc4ee2e 100644
--- a/libc/inet/rpc/pmap_prot2.c
+++ b/libc/inet/rpc/pmap_prot2.c
@@ -44,6 +44,7 @@ static char sccsid[] = "@(#)pmap_prot2.c 1.3 87/08/11 Copyr 1984 Sun Micro";
libc_hidden_proto(xdr_bool)
libc_hidden_proto(xdr_reference)
+libc_hidden_proto(xdr_pmap)
/*
* What is going on with linked lists? (!)
@@ -83,6 +84,7 @@ libc_hidden_proto(xdr_reference)
* the net, yet is the data that the pointer points to which is interesting;
* this sounds like a job for xdr_reference!
*/
+libc_hidden_proto(xdr_pmaplist)
bool_t
xdr_pmaplist (xdrs, rp)
XDR *xdrs;
@@ -118,3 +120,4 @@ xdr_pmaplist (xdrs, rp)
rp = freeing ? next : &((*rp)->pml_next);
}
}
+libc_hidden_def(xdr_pmaplist)
diff --git a/libc/inet/rpc/pmap_rmt.c b/libc/inet/rpc/pmap_rmt.c
index 1a6286ba3..97e6be4b4 100644
--- a/libc/inet/rpc/pmap_rmt.c
+++ b/libc/inet/rpc/pmap_rmt.c
@@ -70,6 +70,8 @@ libc_hidden_proto(xdr_callmsg)
libc_hidden_proto(xdr_replymsg)
libc_hidden_proto(xdr_reference)
libc_hidden_proto(xdr_u_long)
+libc_hidden_proto(xdr_void)
+libc_hidden_proto(xdr_rmtcallres)
libc_hidden_proto(inet_makeaddr)
libc_hidden_proto(inet_netof)
libc_hidden_proto(clntudp_create)
@@ -185,6 +187,7 @@ xdr_rmtcallres (xdrs, crp)
}
return FALSE;
}
+libc_hidden_def(xdr_rmtcallres)
/*
diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c
index 4bdc8b3bc..a34110cee 100644
--- a/libc/inet/rpc/rcmd.c
+++ b/libc/inet/rpc/rcmd.c
@@ -101,6 +101,7 @@ libc_hidden_proto(__fgetc_unlocked)
libc_hidden_proto(fopen)
libc_hidden_proto(fclose)
libc_hidden_proto(fprintf)
+libc_hidden_proto(__h_errno_location)
libc_hidden_proto(rresvport)
diff --git a/libc/inet/rpc/svc_simple.c b/libc/inet/rpc/svc_simple.c
index 7657bb7f9..37637f485 100644
--- a/libc/inet/rpc/svc_simple.c
+++ b/libc/inet/rpc/svc_simple.c
@@ -67,6 +67,7 @@ libc_hidden_proto(svc_register)
libc_hidden_proto(svcerr_decode)
libc_hidden_proto(svcudp_create)
libc_hidden_proto(pmap_unset)
+libc_hidden_proto(xdr_void)
struct proglst_
{
diff --git a/libc/inet/rpc/xdr.c b/libc/inet/rpc/xdr.c
index 9a7569eee..54778935c 100644
--- a/libc/inet/rpc/xdr.c
+++ b/libc/inet/rpc/xdr.c
@@ -88,11 +88,13 @@ xdr_free (xdrproc_t proc, char *objp)
/*
* XDR nothing
*/
+libc_hidden_proto(xdr_void)
bool_t
xdr_void (void)
{
return TRUE;
}
+libc_hidden_def(xdr_void)
/*
* XDR long integers
@@ -342,6 +344,7 @@ xdr_u_longlong_t (XDR *xdrs, u_quad_t *ullp)
/*
* XDR unsigned short integers
*/
+libc_hidden_proto(xdr_u_short)
bool_t
xdr_u_short (XDR *xdrs, u_short *usp)
{
@@ -366,6 +369,7 @@ xdr_u_short (XDR *xdrs, u_short *usp)
}
return FALSE;
}
+libc_hidden_def(xdr_u_short)
/*