From: Kenn H. <ke...@us...> - 2005-03-22 09:18:16
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13785/include/asm-vax Modified Files: posix_types.h Log Message: Add parentheses around (fd) arguments to FD_SET, FD_CLR, etc Index: posix_types.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/posix_types.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- posix_types.h 5 Oct 2003 01:46:05 -0000 1.6 +++ posix_types.h 22 Mar 2005 09:18:07 -0000 1.7 @@ -52,15 +52,15 @@ #undef __FD_SET #define __FD_SET(fd, fdsetp) \ - (((fd_set *)fdsetp)->fds_bits[fd >> 5] |= (1<<(fd & 31))) + (((fd_set *)fdsetp)->fds_bits[(fd) >> 5] |= (1<<((fd) & 31))) #undef __FD_CLR #define __FD_CLR(fd, fdsetp) \ - (((fd_set *)fdsetp)->fds_bits[fd >> 5] &= ~(1<<(fd & 31))) + (((fd_set *)fdsetp)->fds_bits[(fd) >> 5] &= ~(1<<((fd) & 31))) #undef __FD_ISSET #define __FD_ISSET(fd, fdsetp) \ - ((((fd_set *)fdsetp)->fds_bits[fd >> 5] & (1<<(fd & 31))) != 0) + ((((fd_set *)fdsetp)->fds_bits[(fd) >> 5] & (1<<((fd) & 31))) != 0) #undef __FD_ZERO #define __FD_ZERO(fdsetp) \ |