20a21,22
> #include <sys/cdefs.h>
> __FBSDID("$FreeBSD: head/lib/libc/resolv/res_data.c 156956 2006-03-21 15:37:16Z ume $");
35a38
> #ifndef _LIBC
36a40
> #endif
43d46
< #undef _res
74,78d76
< struct __res_state _res
< # if defined(__BIND_RES_TEXT)
< = { RES_TIMEOUT, } /* Motorola, et al. */
< # endif
< ;
110c108
< _res.retry = 4;
---
> _res.retry = RES_DFLRETRY;
160a159
> #ifndef _LIBC
169a169
> #endif
183a184
> #ifndef _LIBC
192a194
> #endif
208a211
> #ifndef _LIBC
219a223
> #endif
225a230
> #ifndef _LIBC
234a240
> #endif
266a273,278
> int
> res_opt(int n0, u_char *buf, int buflen, int anslen)
> {
> return (res_nopt(&_res, n0, buf, buflen, anslen));
> }
>
290a303,323
> /*
> * Weak aliases for applications that use certain private entry points,
> * and fail to include <resolv.h>.
> */
> #undef res_init
> __weak_reference(__res_init, res_init);
> #undef p_query
> __weak_reference(__p_query, p_query);
> #undef res_mkquery
> __weak_reference(__res_mkquery, res_mkquery);
> #undef res_query
> __weak_reference(__res_query, res_query);
> #undef res_send
> __weak_reference(__res_send, res_send);
> #undef res_close
> __weak_reference(__res_close, _res_close);
> #undef res_search
> __weak_reference(__res_search, res_search);
> #undef res_querydomain
> __weak_reference(__res_querydomain, res_querydomain);
>
> #include <sys/cdefs.h>
> __FBSDID("$FreeBSD: head/lib/libc/resolv/res_data.c 156956 2006-03-21 15:37:16Z ume $");
35a38
> #ifndef _LIBC
36a40
> #endif
43d46
< #undef _res
74,78d76
< struct __res_state _res
< # if defined(__BIND_RES_TEXT)
< = { RES_TIMEOUT, } /* Motorola, et al. */
< # endif
< ;
110c108
< _res.retry = 4;
---
> _res.retry = RES_DFLRETRY;
160a159
> #ifndef _LIBC
169a169
> #endif
183a184
> #ifndef _LIBC
192a194
> #endif
208a211
> #ifndef _LIBC
219a223
> #endif
225a230
> #ifndef _LIBC
234a240
> #endif
266a273,278
> int
> res_opt(int n0, u_char *buf, int buflen, int anslen)
> {
> return (res_nopt(&_res, n0, buf, buflen, anslen));
> }
>
290a303,323
> /*
> * Weak aliases for applications that use certain private entry points,
> * and fail to include <resolv.h>.
> */
> #undef res_init
> __weak_reference(__res_init, res_init);
> #undef p_query
> __weak_reference(__p_query, p_query);
> #undef res_mkquery
> __weak_reference(__res_mkquery, res_mkquery);
> #undef res_query
> __weak_reference(__res_query, res_query);
> #undef res_send
> __weak_reference(__res_send, res_send);
> #undef res_close
> __weak_reference(__res_close, _res_close);
> #undef res_search
> __weak_reference(__res_search, res_search);
> #undef res_querydomain
> __weak_reference(__res_querydomain, res_querydomain);
>