From 543cf8a9e162a9a812770c628fa06c7a256752ee Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 26 Mar 2001 05:17:47 +0000 Subject: Update. Add changes which were in this form in the original patch by Eric Norum . * include/rpc/rpc.h: Remove svc_fdset, rpc_createerr, svc_pollfd, and svc_max_pollfd. * sunrpc/rpc/rpc.h: Declare __rpc_thread_svc_fdset, __rpc_thread_createerr, __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd. Define svc_fdset, get_rpc_createerr, svc_pollfd, and svc_max_pollfd. * sunrpc/rpc_thread.c: Handle first thread special, it uses the global variables. Define __rpc_thread_svc_fdset, __rpc_thread_createerr, __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd. * sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_svc_fdset, __rpc_thread_createerr, __rpc_thread_svc_pollfd, and __rpc_thread_svc_max_pollfd. * sunrpc/clnt_gen.c: Replace use of rpc_createerr by call to get_rpc_createerr. * sunrpc/clnt_perr.c: Likewise. * sunrpc/clnt_simp.c: Likewise. * sunrpc/clnt_tcp.c: Likewise. * sunrpc/clnt_udp.c: Likewise. * sunrpc/clnt_unix.c: Likewise. * sunrpc/pm_getport.c: Likewise. --- include/rpc/rpc.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include') diff --git a/include/rpc/rpc.h b/include/rpc/rpc.h index a922218510..f4dee74afe 100644 --- a/include/rpc/rpc.h +++ b/include/rpc/rpc.h @@ -48,14 +48,6 @@ extern void __rpc_thread_destroy (void); #define RPC_THREAD_VARIABLE(x) (__rpc_thread_variables()->x) -/* - * Global variables - */ -#define svc_fdset RPC_THREAD_VARIABLE(svc_fdset_s) -#define rpc_createerr RPC_THREAD_VARIABLE(rpc_createerr_s) -#define svc_pollfd RPC_THREAD_VARIABLE(svc_pollfd_s) -#define svc_max_pollfd RPC_THREAD_VARIABLE(svc_max_pollfd_s) - #endif /* _RPC_THREAD_SAFE_ */ #endif -- cgit v1.2.1