diff options
| author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-02-19 10:25:35 +0000 |
|---|---|---|
| committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-02-19 10:25:35 +0000 |
| commit | 954937168b2e8e8e1891267983d95ea5c5daefac (patch) | |
| tree | 3c76e499b5c62b799a7212680f35a6fee92497f1 | |
| parent | 2e6b7da757db6d8f4f07dcc44dfb8c82ad02bbba (diff) | |
| download | uClibc-alpine-954937168b2e8e8e1891267983d95ea5c5daefac.tar.bz2 uClibc-alpine-954937168b2e8e8e1891267983d95ea5c5daefac.tar.xz | |
_res needs to be a macro (*__res_state()) having threads.
Revert latest change.
| -rw-r--r-- | include/resolv.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/resolv.h b/include/resolv.h index 1c6b6ff30..cdb14c713 100644 --- a/include/resolv.h +++ b/include/resolv.h @@ -279,14 +279,10 @@ struct res_sym { /* 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 |
