summaryrefslogtreecommitdiffstats
path: root/libc/dns/resolv/__res_close.c
blob: 3af50b06bde1d5045eba81c28e39b25a7c507b9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*	$NetBSD: __res_close.c,v 1.4 2005/09/13 01:44:10 christos Exp $	*/

/*
 * written by matthew green, 22/04/97.
 * public domain.
 */

#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: __res_close.c,v 1.4 2005/09/13 01:44:10 christos Exp $");
#endif /* LIBC_SCCS and not lint */

#if defined(__indr_reference)
__indr_reference(__res_close, res_close)
#else

#include <sys/types.h>
#include <netinet/in.h>
#include "resolv_private.h"

/* XXX THIS IS A MESS!  SEE <resolv.h> XXX */

#undef res_close
void	res_close(void);

void
res_close(void)
{

	__res_close();
}

#endif