]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence compiler warning
authorMark Andrews <marka@isc.org>
Thu, 25 Aug 2005 04:44:38 +0000 (04:44 +0000)
committerMark Andrews <marka@isc.org>
Thu, 25 Aug 2005 04:44:38 +0000 (04:44 +0000)
lib/bind/include/resolv.h

index b8339c4c5d7a230839ed27e50d3e20ce0759c13a..996355017d1106afba6324302203a91c06587a65 100644 (file)
@@ -50,7 +50,7 @@
 
 /*
  *     @(#)resolv.h    8.1 (Berkeley) 6/2/93
- *     $Id: resolv.h,v 1.7.2.13 2004/06/25 00:39:31 marka Exp $
+ *     $Id: resolv.h,v 1.7.2.14 2005/08/25 04:44:38 marka Exp $
  */
 
 #ifndef _RESOLV_H_
@@ -291,6 +291,11 @@ extern struct __res_state *__res_state(void);
 __END_DECLS
 #define _res (*__res_state())
 #else
+#ifdef __linux
+__BEGIN_DECLS
+extern struct __res_state * __res_state(void);
+__END_DECLS
+#endif
 #ifndef __BIND_NOSTATIC
 extern struct __res_state _res;
 #endif