some coverity fixes.
[minix.git] / lib / libc / resolv / __res_send.c
blobaf1ea36c461a75c2a633af04ccdc3a0632421337
1 /* $NetBSD: __res_send.c,v 1.4 2005/09/13 01:44:10 christos Exp $ */
3 /*
4 * written by matthew green, 22/04/97.
5 * public domain.
6 */
8 #include <sys/cdefs.h>
9 #if defined(LIBC_SCCS) && !defined(lint)
10 __RCSID("$NetBSD: __res_send.c,v 1.4 2005/09/13 01:44:10 christos Exp $");
11 #endif
13 #if defined(__indr_reference)
14 __indr_reference(__res_send, res_send)
15 #else
17 #include <sys/types.h>
18 #include <netinet/in.h>
19 #include <resolv.h>
21 /* XXX THIS IS A MESS! SEE <resolv.h> XXX */
23 #undef res_send
24 int res_send(const u_char *, int, u_char *, int);
26 int
27 res_send(const u_char *buf, int buflen, u_char *ans, int anssiz)
30 return __res_send(buf, buflen, ans, anssiz);
33 #endif