diff options
Diffstat (limited to 'libc/inet/rpc/rpc_thread.c')
-rw-r--r-- | libc/inet/rpc/rpc_thread.c | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/libc/inet/rpc/rpc_thread.c b/libc/inet/rpc/rpc_thread.c index 374aac84c..fa63b1650 100644 --- a/libc/inet/rpc/rpc_thread.c +++ b/libc/inet/rpc/rpc_thread.c @@ -68,7 +68,7 @@ rpc_thread_multi (void) } -struct rpc_thread_variables * +struct rpc_thread_variables attribute_hidden * __rpc_thread_variables (void) { __libc_once_define (static, once); @@ -103,8 +103,8 @@ __rpc_thread_variables (void) #undef svc_pollfd #undef svc_max_pollfd -fd_set * -__rpc_thread_svc_fdset (void) +fd_set attribute_hidden * +__libc_rpc_thread_svc_fdset (void) { struct rpc_thread_variables *tvp; @@ -113,6 +113,7 @@ __rpc_thread_svc_fdset (void) return &svc_fdset; return &tvp->svc_fdset_s; } +strong_alias(__libc_rpc_thread_svc_fdset,__rpc_thread_svc_fdset) struct rpc_createerr * __rpc_thread_createerr (void) @@ -125,8 +126,8 @@ __rpc_thread_createerr (void) return &tvp->rpc_createerr_s; } -struct pollfd ** -__rpc_thread_svc_pollfd (void) +struct pollfd attribute_hidden ** +__libc_rpc_thread_svc_pollfd (void) { struct rpc_thread_variables *tvp; @@ -135,9 +136,10 @@ __rpc_thread_svc_pollfd (void) return &svc_pollfd; return &tvp->svc_pollfd_s; } +strong_alias(__libc_rpc_thread_svc_pollfd,__rpc_thread_svc_pollfd) -int * -__rpc_thread_svc_max_pollfd (void) +int attribute_hidden * +__libc_rpc_thread_svc_max_pollfd (void) { struct rpc_thread_variables *tvp; @@ -146,6 +148,7 @@ __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) #else #undef svc_fdset @@ -153,11 +156,12 @@ __rpc_thread_svc_max_pollfd (void) #undef svc_pollfd #undef svc_max_pollfd -fd_set * __rpc_thread_svc_fdset (void) +fd_set attribute_hidden * __libc_rpc_thread_svc_fdset (void) { extern fd_set svc_fdset; return &(svc_fdset); } +strong_alias(__libc_rpc_thread_svc_fdset,__rpc_thread_svc_fdset) struct rpc_createerr * __rpc_thread_createerr (void) { @@ -165,17 +169,19 @@ struct rpc_createerr * __rpc_thread_createerr (void) return &(rpc_createerr); } -struct pollfd ** __rpc_thread_svc_pollfd (void) +struct pollfd attribute_hidden ** __libc_rpc_thread_svc_pollfd (void) { extern struct pollfd *svc_pollfd; return &(svc_pollfd); } +strong_alias(__libc_rpc_thread_svc_pollfd,__rpc_thread_svc_pollfd) -int * __rpc_thread_svc_max_pollfd (void) +int attribute_hidden * __libc_rpc_thread_svc_max_pollfd (void) { extern int svc_max_pollfd; return &(svc_max_pollfd); } +strong_alias(__libc_rpc_thread_svc_max_pollfd,__rpc_thread_svc_max_pollfd) #endif /* __UCLIBC_HAS_THREADS__ */ |