From f458b72661924d743e52d030b510efad8859face Mon Sep 17 00:00:00 2001 From: John Baldwin <jhb@FreeBSD.org> Date: Thu, 11 Mar 2010 16:58:15 +0000 Subject: [PATCH] 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 --- lib/libc/rpc/rpc_generic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/libc/rpc/rpc_generic.c b/lib/libc/rpc/rpc_generic.c index 1bd7e1590dbc..ab259d59f30f 100644 --- a/lib/libc/rpc/rpc_generic.c +++ b/lib/libc/rpc/rpc_generic.c @@ -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;