Skip to content

Commit

Permalink
2002-08-02 Roland McGrath <roland@redhat.com>
Browse files Browse the repository at this point in the history
	* include/rpc/rpc.h: Declare RPC_VARS tsd as extern.
	* sunrpc/rpc_thread.c: Define it without static.
  • Loading branch information
Roland McGrath committed Aug 3, 2002
1 parent 447f844 commit b50fca0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sunrpc/rpc_thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@

/* Variable used in non-threaded applications or for the first thread. */
static struct rpc_thread_variables __libc_tsd_RPC_VARS_mem;
#if USE_TLS && HAVE___THREAD
__libc_tsd_define (, RPC_VARS)
#else
__libc_tsd_define (static, RPC_VARS)
#endif

/*
* Task-variable destructor
Expand Down Expand Up @@ -89,7 +85,6 @@ __rpc_thread_svc_fdset (void)
return &svc_fdset;
return &tvp->svc_fdset_s;
}
libc_hidden_def (__rpc_thread_svc_fdset)

struct rpc_createerr *
__rpc_thread_createerr (void)
Expand All @@ -101,7 +96,6 @@ __rpc_thread_createerr (void)
return &rpc_createerr;
return &tvp->rpc_createerr_s;
}
libc_hidden_def (__rpc_thread_createerr)

struct pollfd **
__rpc_thread_svc_pollfd (void)
Expand Down

0 comments on commit b50fca0

Please sign in to comment.