summaryrefslogtreecommitdiff
path: root/include/resolv.h
diff options
context:
space:
mode:
authorMiles Bader <miles@lsi.nec.co.jp>2002-08-16 06:30:30 +0000
committerMiles Bader <miles@lsi.nec.co.jp>2002-08-16 06:30:30 +0000
commit9f8c3d23d00790b1b41587697f94890058ebf8f5 (patch)
tree8d50346ba75bf6d83a37b16857b98be042ce6128 /include/resolv.h
parent6a45dea77e05e98baf5aaeba07b4085034f7857c (diff)
Remove thread-specific stuff entirely.
Diffstat (limited to 'include/resolv.h')
-rw-r--r--include/resolv.h21
1 files changed, 5 insertions, 16 deletions
diff --git a/include/resolv.h b/include/resolv.h
index 6b935117e..79c3974f8 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -217,24 +217,11 @@ typedef struct __res_state *res_state;
/* 0x00008000 */
-/* Things involving an internal (static) resolver context. */
-#if defined __UCLIBC_HAS_THREADS__
-
-__BEGIN_DECLS
-extern struct __res_state *__res_state(void) __attribute__ ((__const__));
-__END_DECLS
-#define _res (*__res_state())
-
-#else /* !__UCLIBC_HAS_THREADS__ */
-
#ifndef __BIND_NOSTATIC
-extern struct __res_state _res;
-#endif
-
-#endif /* __UCLIBC_HAS_THREADS__ */
+/* Internal (static) resolver context. */
+extern struct __res_state _res;
-#ifndef __BIND_NOSTATIC
#define fp_nquery __fp_nquery
#define fp_query __fp_query
#define hostalias __hostalias
@@ -264,7 +251,9 @@ int res_querydomain __P((const char *, const char *, int, int,
int res_search __P((const char *, int, int, u_char *, int));
int res_send __P((const u_char *, int, u_char *, int));
__END_DECLS
-#endif
+
+#endif /* !__BIND_NOSTATIC */
+
#if !defined(SHARED_LIBBIND) || defined(LIB)
/*