summaryrefslogtreecommitdiffstats
path: root/src/include/krb5
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-03-10 19:24:26 +0000
committerTheodore Tso <tytso@mit.edu>1995-03-10 19:24:26 +0000
commit42ab4b92e25e731ab2775ea1b3c275273a8bc677 (patch)
tree2b3ef6e7928ba58b73fbc78a7e9e7278aa96ca5d /src/include/krb5
parent47ac7e85367d219ddbc45e5ea26da0a62dec6ddf (diff)
downloadkrb5-42ab4b92e25e731ab2775ea1b3c275273a8bc677.tar.gz
krb5-42ab4b92e25e731ab2775ea1b3c275273a8bc677.tar.xz
krb5-42ab4b92e25e731ab2775ea1b3c275273a8bc677.zip
Removed definition of FD_SETSIZE, FD_SET, FD_CLR, FD_ISSET, and
FD_ZERO. Defining them in favor of using the system include files is almost always wrong. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5106 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/krb5')
-rw-r--r--src/include/krb5/ChangeLog6
-rw-r--r--src/include/krb5/sysincl.h9
2 files changed, 6 insertions, 9 deletions
diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog
index dbe465580f..031e543749 100644
--- a/src/include/krb5/ChangeLog
+++ b/src/include/krb5/ChangeLog
@@ -1,3 +1,9 @@
+Fri Mar 10 14:23:12 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * sysincl.h: Removed definition of FD_SETSIZE, FD_SET, FD_CLR,
+ FD_ISSET, and FD_ZERO. Defining them in favor of using
+ the system include files is almost always wrong.
+
Fri Mar 10 10:04:41 1995 Chris Provenzano (proven@mit.edu)
* func-proto.h (krb5_mk_req(), krb5_mk_req_extended(), krb5_rd_rep(),
diff --git a/src/include/krb5/sysincl.h b/src/include/krb5/sysincl.h
index 3800d9ecf9..f515797048 100644
--- a/src/include/krb5/sysincl.h
+++ b/src/include/krb5/sysincl.h
@@ -58,15 +58,6 @@
friends */
#endif
-#ifndef FD_SET
-#define FD_SETSIZE (sizeof (fd_set) * 8)
-
-#define FD_SET(f,s) ((s)->fds_bits[0] |= (1 << (f)))
-#define FD_CLR(f,s) ((s)->fds_bits[0] &= ~(1 << (f)))
-#define FD_ISSET(f,s) ((s)->fds_bits[0] & (1 << (f)))
-#define FD_ZERO(s) ((s)->fds_bits[0] = 0)
-#endif
-
#if defined(SYSV) || defined(_AIX)
#include <fcntl.h>
#endif