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