1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00

Fix a bug in the previous change: remove function-local definition of

tcp_key and udp_key that shadows the global definition.

PR:		threads/144558
Submitted by:	Sam Robb
This commit is contained in:
John Baldwin 2010-03-11 16:58:15 +00:00
parent 5d82e6d067
commit f458b72661
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205020

View File

@ -248,7 +248,6 @@ __rpc_getconfip(nettype)
static char *netid_udp_main;
struct netconfig *dummy;
int main_thread;
static thread_key_t tcp_key, udp_key;
if ((main_thread = thr_main())) {
netid_udp = netid_udp_main;