Author: jhb
Date: Thu Mar 11 16:58:15 2010
New Revision: 205020
URL: http://svn.freebsd.org/changeset/base/205020

Log:
  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

Modified:
  head/lib/libc/rpc/rpc_generic.c

Modified: head/lib/libc/rpc/rpc_generic.c
==============================================================================
--- head/lib/libc/rpc/rpc_generic.c     Thu Mar 11 15:33:12 2010        
(r205019)
+++ head/lib/libc/rpc/rpc_generic.c     Thu Mar 11 16:58:15 2010        
(r205020)
@@ -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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to