diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2007-09-19 00:05:17 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2007-09-19 00:05:17 +0400 |
commit | cebf33e402b40e7be33fbb7ae50e97713685a0ad (patch) | |
tree | 80058df61c530ed3f314b44aa4d3c794665ff341 /newlib/libc/machine/spu | |
parent | 3908c985922d653fa47775dfbf5d2d29ff7c4fa0 (diff) |
2007-09-18 Patrick Mansfield <patmans@us.ibm.com>
* libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
typedef dev_t, gid_t, and uid_t.
* libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
Change to lower case for all __foo_t_defined names.
* libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
__uid_t, and __gid_t making them all four bytes. Change to lower case
for all __foo_t_defined names.
Diffstat (limited to 'newlib/libc/machine/spu')
-rw-r--r-- | newlib/libc/machine/spu/machine/_types.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/newlib/libc/machine/spu/machine/_types.h b/newlib/libc/machine/spu/machine/_types.h index a3950f5fd..d58c617a8 100644 --- a/newlib/libc/machine/spu/machine/_types.h +++ b/newlib/libc/machine/spu/machine/_types.h @@ -39,14 +39,22 @@ /* * fpos_t large enough for either 32 or 64 bit ppc glibc fpos_t. */ -#define __FPOS_T_DEFINED +#define __fpos_t_defined typedef struct { char __pos[16]; } _fpos_t; #ifdef __LARGE64_FILES -#define __FPOS64_T_DEFINED +#define __fpos64_t_defined typedef _fpos_t _fpos64_t; #endif +#define __dev_t_defined +typedef int __dev_t; + +#define __uid_t_defined +typedef unsigned int __uid_t; +#define __gid_t_defined +typedef unsigned int __gid_t; + #endif /* _MACHINE__TYPES_H */ |