Home | History | Annotate | Download | only in resolv
      1 /*	$NetBSD: __res_close.c,v 1.4 2005/09/13 01:44:10 christos Exp $	*/
      2 
      3 /*
      4  * written by matthew green, 22/04/97.
      5  * public domain.
      6  */
      7 
      8 #include <sys/cdefs.h>
      9 #if defined(LIBC_SCCS) && !defined(lint)
     10 __RCSID("$NetBSD: __res_close.c,v 1.4 2005/09/13 01:44:10 christos Exp $");
     11 #endif /* LIBC_SCCS and not lint */
     12 
     13 #if defined(__indr_reference)
     14 __indr_reference(__res_close, res_close)
     15 #else
     16 
     17 #include <sys/types.h>
     18 #include <netinet/in.h>
     19 #include "resolv_private.h"
     20 
     21 /* XXX THIS IS A MESS!  SEE <resolv.h> XXX */
     22 
     23 #undef res_close
     24 void	res_close(void);
     25 
     26 void
     27 res_close(void)
     28 {
     29 
     30 	__res_close();
     31 }
     32 
     33 #endif
     34