summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2010-03-11 16:58:15 +0000
committerjhb <jhb@FreeBSD.org>2010-03-11 16:58:15 +0000
commit03101f1cf6eaf4791f0ae5844d6c40b9f282a3ef (patch)
tree6d8a5aa2381fe1b7cffab4dc9a744e3b6ed1c782 /lib/libc
parentcf97510db9661c06d2944ccbac57870ceae78991 (diff)
downloadFreeBSD-src-03101f1cf6eaf4791f0ae5844d6c40b9f282a3ef.zip
FreeBSD-src-03101f1cf6eaf4791f0ae5844d6c40b9f282a3ef.tar.gz
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
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/rpc/rpc_generic.c1
1 files changed, 0 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud