svn commit: branches/uClibc-nptl/include

carmelo at uclibc.org carmelo at uclibc.org
Thu Feb 19 10:25:36 UTC 2009


Author: carmelo
Date: 2009-02-19 10:25:35 +0000 (Thu, 19 Feb 2009)
New Revision: 25384

Log:
_res needs to be a macro (*__res_state()) having threads.
Revert latest change.



Modified:
   branches/uClibc-nptl/include/resolv.h


Changeset:
Modified: branches/uClibc-nptl/include/resolv.h
===================================================================
--- branches/uClibc-nptl/include/resolv.h	2009-02-19 10:24:02 UTC (rev 25383)
+++ branches/uClibc-nptl/include/resolv.h	2009-02-19 10:25:35 UTC (rev 25384)
@@ -279,14 +279,10 @@
 /*			0x00008000	*/
 
 /* Things involving an internal (static) resolver context. */
-#if 0
 __BEGIN_DECLS
 extern struct __res_state *__res_state(void) __attribute__ ((__const__));
 __END_DECLS
 #define _res (*__res_state())
-#else
-extern struct __res_state _res;
-#endif
 
 #define fp_nquery		__fp_nquery
 #define fp_query		__fp_query



More information about the uClibc-cvs mailing list