diff options
Diffstat (limited to 'include/asm-v850')
-rw-r--r-- | include/asm-v850/posix_types.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/asm-v850/posix_types.h b/include/asm-v850/posix_types.h index ccb7297a0edc..7f403b765390 100644 --- a/include/asm-v850/posix_types.h +++ b/include/asm-v850/posix_types.h | |||
@@ -44,15 +44,11 @@ typedef __kernel_uid_t __kernel_old_uid_t; | |||
44 | typedef unsigned int __kernel_old_dev_t; | 44 | typedef unsigned int __kernel_old_dev_t; |
45 | 45 | ||
46 | typedef struct { | 46 | typedef struct { |
47 | #if defined(__KERNEL__) || defined(__USE_ALL) | ||
48 | int val[2]; | 47 | int val[2]; |
49 | #else /* !defined(__KERNEL__) && !defined(__USE_ALL) */ | ||
50 | int __val[2]; | ||
51 | #endif /* !defined(__KERNEL__) && !defined(__USE_ALL) */ | ||
52 | } __kernel_fsid_t; | 48 | } __kernel_fsid_t; |
53 | 49 | ||
54 | 50 | ||
55 | #if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) | 51 | #if defined(__KERNEL__) |
56 | 52 | ||
57 | /* We used to include <asm/bitops.h> here, which seems the right thing, but | 53 | /* We used to include <asm/bitops.h> here, which seems the right thing, but |
58 | it caused nasty include-file definition order problems. Removing the | 54 | it caused nasty include-file definition order problems. Removing the |
@@ -71,6 +67,6 @@ typedef struct { | |||
71 | #define __FD_ZERO(fd_set) \ | 67 | #define __FD_ZERO(fd_set) \ |
72 | memset (fd_set, 0, sizeof (*(fd_set *)fd_set)) | 68 | memset (fd_set, 0, sizeof (*(fd_set *)fd_set)) |
73 | 69 | ||
74 | #endif /* defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) */ | 70 | #endif /* defined(__KERNEL__) */ |
75 | 71 | ||
76 | #endif /* __V850_POSIX_TYPES_H__ */ | 72 | #endif /* __V850_POSIX_TYPES_H__ */ |