diff options
| author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-15 05:30:47 +0000 |
|---|---|---|
| committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-15 05:30:47 +0000 |
| commit | 402cb6dedfb3d271c7aab269ad9b79b04c21b62d (patch) | |
| tree | 003ce7df109ff21b4561376c4c4bc690b8b7ba3d /include/resolv.h | |
| parent | 46850f098985cb7ca49b7617dd49257634da8561 (diff) | |
| download | uClibc-alpine-402cb6dedfb3d271c7aab269ad9b79b04c21b62d.tar.bz2 uClibc-alpine-402cb6dedfb3d271c7aab269ad9b79b04c21b62d.tar.xz | |
Clean up '_res' such that it will now work for, NPTL, linuxthreads and
even no threads. Fix 'pthread_atfork' function and clean up duplicate
of '__set_errno' that is not needed.
Diffstat (limited to 'include/resolv.h')
| -rw-r--r-- | include/resolv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/resolv.h b/include/resolv.h index 3658930c8..7ab401394 100644 --- a/include/resolv.h +++ b/include/resolv.h @@ -398,7 +398,7 @@ extern __thread struct __res_state *__resp attribute_tls_model_ie; # endif # else # undef _res -extern struct __res_state _res; +# define _res (*__resp) # endif /* __UCLIBC_HAS_THREADS_NATIVE__ */ # endif /* __UCLIBC_HAS_THREADS__ */ # endif /* _LIBC */ |
