mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
silence compiler warning
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
static const char sccsid[] = "@(#)res_send.c 8.1 (Berkeley) 6/4/93";
|
||||
static const char rcsid[] = "$Id: res_send.c,v 1.14 2005/07/28 06:51:51 marka Exp $";
|
||||
static const char rcsid[] = "$Id: res_send.c,v 1.15 2005/08/15 02:00:01 marka Exp $";
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
/*! \file
|
||||
@@ -109,7 +109,6 @@ static const char rcsid[] = "$Id: res_send.c,v 1.14 2005/07/28 06:51:51 marka Ex
|
||||
#include <stropts.h>
|
||||
#endif
|
||||
#include <poll.h>
|
||||
#define pselect Pselect
|
||||
#endif /* USE_POLL */
|
||||
|
||||
/* Options. Leave them on. */
|
||||
@@ -138,7 +137,7 @@ static void Aerror(const res_state, FILE *, const char *, int,
|
||||
const struct sockaddr *, int);
|
||||
static void Perror(const res_state, FILE *, const char *, int);
|
||||
static int sock_eq(struct sockaddr *, struct sockaddr *);
|
||||
#ifdef NEED_PSELECT
|
||||
#if defined(NEED_PSELECT) && !defined(USE_POLL)
|
||||
static int pselect(int, void *, void *, void *,
|
||||
struct timespec *,
|
||||
const sigset_t *);
|
||||
@@ -1067,7 +1066,7 @@ sock_eq(struct sockaddr *a, struct sockaddr *b) {
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef NEED_PSELECT
|
||||
#if defined(NEED_PSELECT) && !defined(USE_POLL)
|
||||
/* XXX needs to move to the porting library. */
|
||||
static int
|
||||
pselect(int nfds, void *rfds, void *wfds, void *efds,
|
||||
|
Reference in New Issue
Block a user