summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libc/net/res_send.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/libc/net/res_send.c b/src/lib/libc/net/res_send.c
index 187210cbd8..09b1385892 100644
--- a/src/lib/libc/net/res_send.c
+++ b/src/lib/libc/net/res_send.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_send.c,v 1.20 2008/04/18 21:36:32 djm Exp $ */ 1/* $OpenBSD: res_send.c,v 1.21 2008/05/11 05:03:03 brad Exp $ */
2 2
3/* 3/*
4 * ++Copyright++ 1985, 1989, 1993 4 * ++Copyright++ 1985, 1989, 1993
@@ -91,16 +91,6 @@ static int connected = 0; /* is the socket connected */
91static int vc = 0; /* is the socket a virtual ciruit? */ 91static int vc = 0; /* is the socket a virtual ciruit? */
92static int af = 0; /* address family of socket */ 92static int af = 0; /* address family of socket */
93 93
94#ifndef FD_SET
95/* XXX - should be in portability.h */
96#define NFDBITS 32
97#define FD_SETSIZE 32
98#define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS)))
99#define FD_CLR(n, p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS)))
100#define FD_ISSET(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS)))
101#define FD_ZERO(p) bzero((char *)(p), sizeof(*(p)))
102#endif
103
104#define CAN_RECONNECT 1 94#define CAN_RECONNECT 1
105 95
106#ifndef DEBUG 96#ifndef DEBUG