summaryrefslogtreecommitdiff
path: root/include/rpc/rpc.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-03 03:53:28 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-03 03:53:28 +0000
commit1f3f143e627ba38e05da328670a80b3ac8712e51 (patch)
treeaa6614de58d63d277af13a170c26a7709218322d /include/rpc/rpc.h
parent3db04c6ff75614f146c5b5152313dd17a7419468 (diff)
Update.
2002-08-02 Ulrich Drepper <drepper@redhat.com> * cancel.c (__pthread_perform_cleanup) [USE_TLS && HAVE___THREAD]: Don't use p_libc_specific element in thread descriptor.
Diffstat (limited to 'include/rpc/rpc.h')
-rw-r--r--include/rpc/rpc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/rpc/rpc.h b/include/rpc/rpc.h
index 9f90ae135d..ea57791cfb 100644
--- a/include/rpc/rpc.h
+++ b/include/rpc/rpc.h
@@ -1,5 +1,6 @@
#ifndef _RPC_RPC_H
#include <sunrpc/rpc/rpc.h>
+#include <bits/libc-tsd.h>
/* Now define the internal interfaces. */
extern unsigned long _create_xid (void);
@@ -43,9 +44,15 @@ extern void __rpc_thread_clnt_cleanup (void);
extern void __rpc_thread_key_cleanup (void);
extern void __rpc_thread_destroy (void);
+#if USE_TLS && HAVE___THREAD
+__libc_tsd_define (extern, RPC_VARS)
+#endif
#define RPC_THREAD_VARIABLE(x) (__rpc_thread_variables()->x)
+libc_hidden_proto (__rpc_thread_svc_fdset)
+libc_hidden_proto (__rpc_thread_createerr)
+
#endif /* _RPC_THREAD_SAFE_ */
#endif