patch-1.3.2 linux/include/linux/time.h

Next file: linux/include/linux/tty.h
Previous file: linux/include/linux/termios.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.1/linux/include/linux/time.h linux/include/linux/time.h
@@ -15,20 +15,13 @@
 
 #ifdef __KERNEL__
 void do_gettimeofday(struct timeval *tv);
-#include <asm/bitops.h>
-#include <linux/string.h>
-#define FD_SETSIZE		__FD_SETSIZE
-#define FD_SET(fd,fdsetp)	set_bit(fd,fdsetp)
-#define FD_CLR(fd,fdsetp)	clear_bit(fd,fdsetp)
-#define FD_ISSET(fd,fdsetp)	(0 != test_bit(fd,fdsetp))
-#define FD_ZERO(fdsetp)		memset(fdsetp, 0, sizeof(struct fd_set))
-#else
+#endif
+
 #define FD_SETSIZE		__FD_SETSIZE
 #define FD_SET(fd,fdsetp)	__FD_SET(fd,fdsetp)
 #define FD_CLR(fd,fdsetp)	__FD_CLR(fd,fdsetp)
 #define FD_ISSET(fd,fdsetp)	__FD_ISSET(fd,fdsetp)
 #define FD_ZERO(fdsetp)		__FD_ZERO(fdsetp)
-#endif
 
 /*
  * Names of the interval timers, and structure

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this