mirror of
https://sourceware.org/git/glibc.git
synced 2025-05-08 18:21:37 +03:00
2002-08-02 Roland McGrath <roland@redhat.com>
* include/rpc/rpc.h: Declare RPC_VARS tsd as extern. * sunrpc/rpc_thread.c: Define it without static.
This commit is contained in:
parent
447f8449ea
commit
b50fca08b4
@ -10,11 +10,7 @@
|
|||||||
|
|
||||||
/* Variable used in non-threaded applications or for the first thread. */
|
/* Variable used in non-threaded applications or for the first thread. */
|
||||||
static struct rpc_thread_variables __libc_tsd_RPC_VARS_mem;
|
static struct rpc_thread_variables __libc_tsd_RPC_VARS_mem;
|
||||||
#if USE_TLS && HAVE___THREAD
|
|
||||||
__libc_tsd_define (, RPC_VARS)
|
__libc_tsd_define (, RPC_VARS)
|
||||||
#else
|
|
||||||
__libc_tsd_define (static, RPC_VARS)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Task-variable destructor
|
* Task-variable destructor
|
||||||
@ -89,7 +85,6 @@ __rpc_thread_svc_fdset (void)
|
|||||||
return &svc_fdset;
|
return &svc_fdset;
|
||||||
return &tvp->svc_fdset_s;
|
return &tvp->svc_fdset_s;
|
||||||
}
|
}
|
||||||
libc_hidden_def (__rpc_thread_svc_fdset)
|
|
||||||
|
|
||||||
struct rpc_createerr *
|
struct rpc_createerr *
|
||||||
__rpc_thread_createerr (void)
|
__rpc_thread_createerr (void)
|
||||||
@ -101,7 +96,6 @@ __rpc_thread_createerr (void)
|
|||||||
return &rpc_createerr;
|
return &rpc_createerr;
|
||||||
return &tvp->rpc_createerr_s;
|
return &tvp->rpc_createerr_s;
|
||||||
}
|
}
|
||||||
libc_hidden_def (__rpc_thread_createerr)
|
|
||||||
|
|
||||||
struct pollfd **
|
struct pollfd **
|
||||||
__rpc_thread_svc_pollfd (void)
|
__rpc_thread_svc_pollfd (void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user