summaryrefslogtreecommitdiff
path: root/libc/inet/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc')
-rw-r--r--libc/inet/rpc/clnt_udp.c2
-rw-r--r--libc/inet/rpc/rpc_dtablesize.c4
-rw-r--r--libc/inet/rpc/rpc_thread.c24
-rw-r--r--libc/inet/rpc/ruserpass.c2
-rw-r--r--libc/inet/rpc/svc.c10
-rw-r--r--libc/inet/rpc/svc_auth.c4
-rw-r--r--libc/inet/rpc/svc_run.c4
7 files changed, 25 insertions, 25 deletions
diff --git a/libc/inet/rpc/clnt_udp.c b/libc/inet/rpc/clnt_udp.c
index bc032f205..2b84f5b82 100644
--- a/libc/inet/rpc/clnt_udp.c
+++ b/libc/inet/rpc/clnt_udp.c
@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro";
*/
/* CMSG_NXTHDR is using it */
-#define __cmsg_nxthdr __libc_cmsg_nxthdr
+#define __cmsg_nxthdr __cmsg_nxthdr_internal
#define authnone_create __authnone_create
#define xdrmem_create __xdrmem_create
diff --git a/libc/inet/rpc/rpc_dtablesize.c b/libc/inet/rpc/rpc_dtablesize.c
index aa6d598ce..ede7120b3 100644
--- a/libc/inet/rpc/rpc_dtablesize.c
+++ b/libc/inet/rpc/rpc_dtablesize.c
@@ -45,7 +45,7 @@ static char sccsid[] = "@(#)rpc_dtablesize.c 1.2 87/08/11 Copyr 1987 Sun Micro";
* expensive system call every time.
*/
int attribute_hidden
-__libc__rpc_dtablesize (void)
+_rpc_dtablesize_internal (void)
{
static int size;
@@ -54,4 +54,4 @@ __libc__rpc_dtablesize (void)
return size;
}
-strong_alias(__libc__rpc_dtablesize,_rpc_dtablesize)
+strong_alias(_rpc_dtablesize_internal,_rpc_dtablesize)
diff --git a/libc/inet/rpc/rpc_thread.c b/libc/inet/rpc/rpc_thread.c
index fb0e19cd9..1e42cbec6 100644
--- a/libc/inet/rpc/rpc_thread.c
+++ b/libc/inet/rpc/rpc_thread.c
@@ -95,7 +95,7 @@ __rpc_thread_variables (void)
#undef svc_max_pollfd
fd_set attribute_hidden *
-__libc_rpc_thread_svc_fdset (void)
+__rpc_thread_svc_fdset_internal (void)
{
struct rpc_thread_variables *tvp;
@@ -104,7 +104,7 @@ __libc_rpc_thread_svc_fdset (void)
return &svc_fdset;
return &tvp->svc_fdset_s;
}
-strong_alias(__libc_rpc_thread_svc_fdset,__rpc_thread_svc_fdset)
+strong_alias(__rpc_thread_svc_fdset_internal,__rpc_thread_svc_fdset)
struct rpc_createerr *
__rpc_thread_createerr (void)
@@ -118,7 +118,7 @@ __rpc_thread_createerr (void)
}
struct pollfd attribute_hidden **
-__libc_rpc_thread_svc_pollfd (void)
+__rpc_thread_svc_pollfd_internal (void)
{
struct rpc_thread_variables *tvp;
@@ -127,10 +127,10 @@ __libc_rpc_thread_svc_pollfd (void)
return &svc_pollfd;
return &tvp->svc_pollfd_s;
}
-strong_alias(__libc_rpc_thread_svc_pollfd,__rpc_thread_svc_pollfd)
+strong_alias(__rpc_thread_svc_pollfd_internal,__rpc_thread_svc_pollfd)
int attribute_hidden *
-__libc_rpc_thread_svc_max_pollfd (void)
+__rpc_thread_svc_max_pollfd_internal (void)
{
struct rpc_thread_variables *tvp;
@@ -139,7 +139,7 @@ __libc_rpc_thread_svc_max_pollfd (void)
return &svc_max_pollfd;
return &tvp->svc_max_pollfd_s;
}
-strong_alias(__libc_rpc_thread_svc_max_pollfd,__rpc_thread_svc_max_pollfd)
+strong_alias(__rpc_thread_svc_max_pollfd_internal,__rpc_thread_svc_max_pollfd)
#else
#undef svc_fdset
@@ -147,12 +147,12 @@ strong_alias(__libc_rpc_thread_svc_max_pollfd,__rpc_thread_svc_max_pollfd)
#undef svc_pollfd
#undef svc_max_pollfd
-fd_set attribute_hidden * __libc_rpc_thread_svc_fdset (void)
+fd_set attribute_hidden * __rpc_thread_svc_fdset_internal (void)
{
extern fd_set svc_fdset;
return &(svc_fdset);
}
-strong_alias(__libc_rpc_thread_svc_fdset,__rpc_thread_svc_fdset)
+strong_alias(__rpc_thread_svc_fdset_internal,__rpc_thread_svc_fdset)
struct rpc_createerr * __rpc_thread_createerr (void)
{
@@ -160,19 +160,19 @@ struct rpc_createerr * __rpc_thread_createerr (void)
return &(rpc_createerr);
}
-struct pollfd attribute_hidden ** __libc_rpc_thread_svc_pollfd (void)
+struct pollfd attribute_hidden ** __rpc_thread_svc_pollfd_internal (void)
{
extern struct pollfd *svc_pollfd;
return &(svc_pollfd);
}
-strong_alias(__libc_rpc_thread_svc_pollfd,__rpc_thread_svc_pollfd)
+strong_alias(__rpc_thread_svc_pollfd_internal,__rpc_thread_svc_pollfd)
-int attribute_hidden * __libc_rpc_thread_svc_max_pollfd (void)
+int attribute_hidden * __rpc_thread_svc_max_pollfd_internal (void)
{
extern int svc_max_pollfd;
return &(svc_max_pollfd);
}
-strong_alias(__libc_rpc_thread_svc_max_pollfd,__rpc_thread_svc_max_pollfd)
+strong_alias(__rpc_thread_svc_max_pollfd_internal,__rpc_thread_svc_max_pollfd)
#endif /* __UCLIBC_HAS_THREADS__ */
diff --git a/libc/inet/rpc/ruserpass.c b/libc/inet/rpc/ruserpass.c
index ca040ada2..edb5170e9 100644
--- a/libc/inet/rpc/ruserpass.c
+++ b/libc/inet/rpc/ruserpass.c
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*/
-#define __fsetlocking __libc_fsetlocking
+#define __fsetlocking __fsetlocking_internal
#define getgid __getgid
#define getegid __getegid
diff --git a/libc/inet/rpc/svc.c b/libc/inet/rpc/svc.c
index 5610277ee..b14cbd803 100644
--- a/libc/inet/rpc/svc.c
+++ b/libc/inet/rpc/svc.c
@@ -38,15 +38,15 @@
#define pmap_set __pmap_set
-#define _authenticate __libc__authenticate
-#define _rpc_dtablesize __libc__rpc_dtablesize
+#define _authenticate _authenticate_internal
+#define _rpc_dtablesize _rpc_dtablesize_internal
/* used by svc_[max_]pollfd */
-#define __rpc_thread_svc_pollfd __libc_rpc_thread_svc_pollfd
-#define __rpc_thread_svc_max_pollfd __libc_rpc_thread_svc_max_pollfd
+#define __rpc_thread_svc_pollfd __rpc_thread_svc_pollfd_internal
+#define __rpc_thread_svc_max_pollfd __rpc_thread_svc_max_pollfd_internal
/* used by svc_fdset */
-#define __rpc_thread_svc_fdset __libc_rpc_thread_svc_fdset
+#define __rpc_thread_svc_fdset __rpc_thread_svc_fdset_internal
#define __FORCE_GLIBC
#define _GNU_SOURCE
diff --git a/libc/inet/rpc/svc_auth.c b/libc/inet/rpc/svc_auth.c
index 80c4f7955..bcead0608 100644
--- a/libc/inet/rpc/svc_auth.c
+++ b/libc/inet/rpc/svc_auth.c
@@ -102,7 +102,7 @@ svcauthsw[] =
* invalid.
*/
enum auth_stat attribute_hidden
-__libc__authenticate (register struct svc_req *rqst, struct rpc_msg *msg)
+_authenticate_internal (register struct svc_req *rqst, struct rpc_msg *msg)
{
register int cred_flavor;
@@ -115,7 +115,7 @@ __libc__authenticate (register struct svc_req *rqst, struct rpc_msg *msg)
return AUTH_REJECTEDCRED;
}
-strong_alias(__libc__authenticate,_authenticate)
+strong_alias(_authenticate_internal,_authenticate)
static enum auth_stat
_svcauth_null (struct svc_req *rqst, struct rpc_msg *msg)
diff --git a/libc/inet/rpc/svc_run.c b/libc/inet/rpc/svc_run.c
index 218bfd969..c0d3b34f0 100644
--- a/libc/inet/rpc/svc_run.c
+++ b/libc/inet/rpc/svc_run.c
@@ -32,8 +32,8 @@
*/
/* used by svc_[max_]pollfd */
-#define __rpc_thread_svc_pollfd __libc_rpc_thread_svc_pollfd
-#define __rpc_thread_svc_max_pollfd __libc_rpc_thread_svc_max_pollfd
+#define __rpc_thread_svc_pollfd __rpc_thread_svc_pollfd_internal
+#define __rpc_thread_svc_max_pollfd __rpc_thread_svc_max_pollfd_internal
#define __FORCE_GLIBC
#define _GNU_SOURCE