From 03101f1cf6eaf4791f0ae5844d6c40b9f282a3ef Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 11 Mar 2010 16:58:15 +0000 Subject: 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(-) (limited to 'lib/libc') diff --git a/lib/libc/rpc/rpc_generic.c b/lib/libc/rpc/rpc_generic.c index 1bd7e15..ab259d5 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; -- cgit v1.1