From: Theodore Tso Date: Fri, 10 Mar 1995 19:24:26 +0000 (+0000) Subject: Removed definition of FD_SETSIZE, FD_SET, FD_CLR, FD_ISSET, and X-Git-Tag: krb5-1.0-beta5~566 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=42ab4b92e25e731ab2775ea1b3c275273a8bc677;p=krb5.git 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 --- diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index dbe465580..031e54374 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 + + * 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 3800d9ecf..f51579704 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 #endif