asm-sh/posix_types_{32,64}.h: drop __GLIBC__/__USE_ALL usage

Bring sh in line with all the other ports.  Not sure how sh missed this
change as all the other arches were being updated ...

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Mike Frysinger 2009-01-02 02:52:57 -05:00 committed by Paul Mundt
parent 7bfa122c19
commit c2bcc4a7ff
2 changed files with 4 additions and 12 deletions

View File

@ -39,14 +39,10 @@ typedef long long __kernel_loff_t;
#endif #endif
typedef struct { typedef struct {
#if defined(__KERNEL__) || defined(__USE_ALL)
int val[2]; int val[2];
#else /* !defined(__KERNEL__) && !defined(__USE_ALL) */
int __val[2];
#endif /* !defined(__KERNEL__) && !defined(__USE_ALL) */
} __kernel_fsid_t; } __kernel_fsid_t;
#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) #if defined(__KERNEL__)
#undef __FD_SET #undef __FD_SET
static __inline__ void __FD_SET(unsigned long __fd, __kernel_fd_set *__fdsetp) static __inline__ void __FD_SET(unsigned long __fd, __kernel_fd_set *__fdsetp)
@ -117,6 +113,6 @@ static __inline__ void __FD_ZERO(__kernel_fd_set *__p)
} }
} }
#endif /* defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) */ #endif /* defined(__KERNEL__) */
#endif /* __ASM_SH_POSIX_TYPES_H */ #endif /* __ASM_SH_POSIX_TYPES_H */

View File

@ -48,14 +48,10 @@ typedef long long __kernel_loff_t;
#endif #endif
typedef struct { typedef struct {
#if defined(__KERNEL__) || defined(__USE_ALL)
int val[2]; int val[2];
#else /* !defined(__KERNEL__) && !defined(__USE_ALL) */
int __val[2];
#endif /* !defined(__KERNEL__) && !defined(__USE_ALL) */
} __kernel_fsid_t; } __kernel_fsid_t;
#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) #if defined(__KERNEL__)
#undef __FD_SET #undef __FD_SET
static __inline__ void __FD_SET(unsigned long __fd, __kernel_fd_set *__fdsetp) static __inline__ void __FD_SET(unsigned long __fd, __kernel_fd_set *__fdsetp)
@ -126,6 +122,6 @@ static __inline__ void __FD_ZERO(__kernel_fd_set *__p)
} }
} }
#endif /* defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) */ #endif /* defined(__KERNEL__) */
#endif /* __ASM_SH64_POSIX_TYPES_H */ #endif /* __ASM_SH64_POSIX_TYPES_H */