diff options
Diffstat (limited to 'contrib/bind/include')
-rw-r--r-- | contrib/bind/include/resolv.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/bind/include/resolv.h b/contrib/bind/include/resolv.h index 600e98b..75578ff 100644 --- a/contrib/bind/include/resolv.h +++ b/contrib/bind/include/resolv.h @@ -50,7 +50,7 @@ /* * @(#)resolv.h 8.1 (Berkeley) 6/2/93 - * $Id: resolv.h,v 8.32 2000/12/23 08:14:49 vixie Exp $ + * $Id: resolv.h,v 8.32.2.1 2001/05/17 03:01:30 marka Exp $ */ #ifndef _RESOLV_H_ @@ -96,7 +96,9 @@ #define RES_SET_H_ERRNO(r,x) __h_errno_set(r,x) struct __res_state; /* forward */ +__BEGIN_DECLS void __h_errno_set(struct __res_state *res, int err); +__END_DECLS /* * Resolver configuration file. @@ -239,7 +241,9 @@ typedef struct __res_state *res_state; /* Things involving an internal (static) resolver context. */ #ifdef _REENTRANT +__BEGIN_DECLS extern struct __res_state *__res_state(void); +__END_DECLS #define _res (*__res_state()) #else #ifndef __BIND_NOSTATIC |