diff options
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r-- | include/asm-sparc64/posix_types.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/asm-sparc64/posix_types.h b/include/asm-sparc64/posix_types.h index 3426a65ecd35..4eaaa0196636 100644 --- a/include/asm-sparc64/posix_types.h +++ b/include/asm-sparc64/posix_types.h | |||
@@ -43,14 +43,10 @@ typedef long long __kernel_loff_t; | |||
43 | #endif | 43 | #endif |
44 | 44 | ||
45 | typedef struct { | 45 | typedef struct { |
46 | #if defined(__KERNEL__) || defined(__USE_ALL) | ||
47 | int val[2]; | 46 | int val[2]; |
48 | #else /* !defined(__KERNEL__) && !defined(__USE_ALL) */ | ||
49 | int __val[2]; | ||
50 | #endif /* !defined(__KERNEL__) && !defined(__USE_ALL) */ | ||
51 | } __kernel_fsid_t; | 47 | } __kernel_fsid_t; |
52 | 48 | ||
53 | #if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) | 49 | #if defined(__KERNEL__) |
54 | 50 | ||
55 | #undef __FD_SET | 51 | #undef __FD_SET |
56 | static inline void __FD_SET(unsigned long fd, __kernel_fd_set *fdsetp) | 52 | static inline void __FD_SET(unsigned long fd, __kernel_fd_set *fdsetp) |
@@ -121,6 +117,6 @@ static inline void __FD_ZERO(__kernel_fd_set *p) | |||
121 | } | 117 | } |
122 | } | 118 | } |
123 | 119 | ||
124 | #endif /* defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) */ | 120 | #endif /* defined(__KERNEL__) */ |
125 | 121 | ||
126 | #endif /* !(__ARCH_SPARC64_POSIX_TYPES_H) */ | 122 | #endif /* !(__ARCH_SPARC64_POSIX_TYPES_H) */ |