diff options
-rw-r--r-- | include/asm-alpha/posix_types.h | 2 | ||||
-rw-r--r-- | include/asm-ia64/posix_types.h | 2 | ||||
-rw-r--r-- | include/asm-powerpc/posix_types.h | 2 | ||||
-rw-r--r-- | include/asm-s390/posix_types.h | 2 | ||||
-rw-r--r-- | include/asm-xtensa/posix_types.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-alpha/posix_types.h b/include/asm-alpha/posix_types.h index c78c04a94f4e..db167413300b 100644 --- a/include/asm-alpha/posix_types.h +++ b/include/asm-alpha/posix_types.h | |||
@@ -49,7 +49,7 @@ typedef unsigned int __kernel_old_dev_t; | |||
49 | #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d)) | 49 | #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d)) |
50 | #define __FD_ISSET(d, set) (((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) != 0) | 50 | #define __FD_ISSET(d, set) (((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) != 0) |
51 | #define __FD_ZERO(set) \ | 51 | #define __FD_ZERO(set) \ |
52 | ((void) memset ((__ptr_t) (set), 0, sizeof (__kernel_fd_set))) | 52 | ((void) memset ((void *) (set), 0, sizeof (__kernel_fd_set))) |
53 | 53 | ||
54 | #else /* __GNUC__ */ | 54 | #else /* __GNUC__ */ |
55 | 55 | ||
diff --git a/include/asm-ia64/posix_types.h b/include/asm-ia64/posix_types.h index adb62272694f..17885567b731 100644 --- a/include/asm-ia64/posix_types.h +++ b/include/asm-ia64/posix_types.h | |||
@@ -54,7 +54,7 @@ typedef unsigned int __kernel_old_dev_t; | |||
54 | #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d)) | 54 | #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d)) |
55 | #define __FD_ISSET(d, set) (((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) != 0) | 55 | #define __FD_ISSET(d, set) (((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) != 0) |
56 | #define __FD_ZERO(set) \ | 56 | #define __FD_ZERO(set) \ |
57 | ((void) memset ((__ptr_t) (set), 0, sizeof (__kernel_fd_set))) | 57 | ((void) memset ((void *) (set), 0, sizeof (__kernel_fd_set))) |
58 | 58 | ||
59 | # else /* !__GNUC__ */ | 59 | # else /* !__GNUC__ */ |
60 | 60 | ||
diff --git a/include/asm-powerpc/posix_types.h b/include/asm-powerpc/posix_types.h index c6391077224f..2f2288f520be 100644 --- a/include/asm-powerpc/posix_types.h +++ b/include/asm-powerpc/posix_types.h | |||
@@ -60,7 +60,7 @@ typedef struct { | |||
60 | #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d)) | 60 | #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d)) |
61 | #define __FD_ISSET(d, set) (((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) != 0) | 61 | #define __FD_ISSET(d, set) (((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) != 0) |
62 | #define __FD_ZERO(set) \ | 62 | #define __FD_ZERO(set) \ |
63 | ((void) memset ((__ptr_t) (set), 0, sizeof (__kernel_fd_set))) | 63 | ((void) memset ((void *) (set), 0, sizeof (__kernel_fd_set))) |
64 | 64 | ||
65 | #else /* __GNUC__ */ | 65 | #else /* __GNUC__ */ |
66 | 66 | ||
diff --git a/include/asm-s390/posix_types.h b/include/asm-s390/posix_types.h index b94c98856e12..397d93fba3a7 100644 --- a/include/asm-s390/posix_types.h +++ b/include/asm-s390/posix_types.h | |||
@@ -104,7 +104,7 @@ static inline int __FD_ISSET(unsigned long fd, const __kernel_fd_set *fdsetp) | |||
104 | 104 | ||
105 | #undef __FD_ZERO | 105 | #undef __FD_ZERO |
106 | #define __FD_ZERO(fdsetp) \ | 106 | #define __FD_ZERO(fdsetp) \ |
107 | ((void) memset ((__ptr_t) (fdsetp), 0, sizeof (__kernel_fd_set))) | 107 | ((void) memset ((void *) (fdsetp), 0, sizeof (__kernel_fd_set))) |
108 | 108 | ||
109 | #endif /* __KERNEL__ */ | 109 | #endif /* __KERNEL__ */ |
110 | 110 | ||
diff --git a/include/asm-xtensa/posix_types.h b/include/asm-xtensa/posix_types.h index 3470b44c12ce..4ad77dda6d5f 100644 --- a/include/asm-xtensa/posix_types.h +++ b/include/asm-xtensa/posix_types.h | |||
@@ -60,7 +60,7 @@ typedef struct { | |||
60 | #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d)) | 60 | #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d)) |
61 | #define __FD_ISSET(d, set) ((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) | 61 | #define __FD_ISSET(d, set) ((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) |
62 | #define __FD_ZERO(set) \ | 62 | #define __FD_ZERO(set) \ |
63 | ((void) memset ((__ptr_t) (set), 0, sizeof (__kernel_fd_set))) | 63 | ((void) memset ((void *) (set), 0, sizeof (__kernel_fd_set))) |
64 | 64 | ||
65 | #else /* __GNUC__ */ | 65 | #else /* __GNUC__ */ |
66 | 66 | ||