Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130038
b: refs/heads/master
c: c2bcc4a
h: refs/heads/master
v: v3
  • Loading branch information
Mike Frysinger authored and Paul Mundt committed Jan 21, 2009
1 parent 7d5f7cf commit 6bf7d6c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7bfa122c19e47b1dee47476ce6e9ed6ba16f8269
refs/heads/master: c2bcc4a7ffa7438a8ded91fbd0313c50d420ff45
8 changes: 2 additions & 6 deletions trunk/arch/sh/include/asm/posix_types_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,10 @@ typedef long long __kernel_loff_t;
#endif

typedef struct {
#if defined(__KERNEL__) || defined(__USE_ALL)
int val[2];
#else /* !defined(__KERNEL__) && !defined(__USE_ALL) */
int __val[2];
#endif /* !defined(__KERNEL__) && !defined(__USE_ALL) */
} __kernel_fsid_t;

#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
#if defined(__KERNEL__)

#undef __FD_SET
static __inline__ void __FD_SET(unsigned long __fd, __kernel_fd_set *__fdsetp)
Expand Down Expand Up @@ -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 */
8 changes: 2 additions & 6 deletions trunk/arch/sh/include/asm/posix_types_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,10 @@ typedef long long __kernel_loff_t;
#endif

typedef struct {
#if defined(__KERNEL__) || defined(__USE_ALL)
int val[2];
#else /* !defined(__KERNEL__) && !defined(__USE_ALL) */
int __val[2];
#endif /* !defined(__KERNEL__) && !defined(__USE_ALL) */
} __kernel_fsid_t;

#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
#if defined(__KERNEL__)

#undef __FD_SET
static __inline__ void __FD_SET(unsigned long __fd, __kernel_fd_set *__fdsetp)
Expand Down Expand Up @@ -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 */

0 comments on commit 6bf7d6c

Please sign in to comment.