diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2005-12-08 19:45:43 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2005-12-08 19:45:43 +0000 |
commit | 2a1fc53c92f5308e6bda3902df45f058e465917e (patch) | |
tree | 74b6bb9ee38c7345c1316e43ad3fee9c32b275e4 | |
parent | 7d6fde96deca12d77c7bd00c5d3216b94eb1bdea (diff) | |
download | newlib-2a1fc53c92f5308e6bda3902df45f058e465917e.zip newlib-2a1fc53c92f5308e6bda3902df45f058e465917e.tar.gz newlib-2a1fc53c92f5308e6bda3902df45f058e465917e.tar.bz2 |
2005-12-08 Shaun Jackman <sjackman@gmail.com>
* libc/include/sys/types.h: Remove the ifdef armour around
standard POSIX types.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/include/sys/types.h | 9 |
2 files changed, 5 insertions, 9 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 28b4924..10001d4 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2005-12-08 Shaun Jackman <sjackman@gmail.com> + + * libc/include/sys/types.h: Remove the ifdef armour around + standard POSIX types. + 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org> * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create, diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h index 5c288bf..d03de7b 100644 --- a/newlib/libc/include/sys/types.h +++ b/newlib/libc/include/sys/types.h @@ -251,11 +251,6 @@ typedef struct _types_fd_set { #undef __MS_types__ #undef _ST_INT32 -/* The following are actually standard POSIX 1003.1b-1993 threads, mutexes, - condition variables, and keys. But since RTEMS is currently the only - newlib user of these, the ifdef is just on RTEMS. */ - -#if defined(__rtems__) || defined(__CYGWIN__) #ifndef __clockid_t_defined typedef _CLOCKID_T_ clockid_t; @@ -267,9 +262,7 @@ typedef _TIMER_T_ timer_t; #define __timer_t_defined #endif -#if defined(__CYGWIN__) || defined(__rtems__) typedef long useconds_t; -#endif #include <sys/features.h> @@ -380,8 +373,6 @@ typedef struct { #endif #endif /* defined(_POSIX_THREADS) */ -#endif /* defined(__rtems__) */ - #endif /* !__need_inttypes */ #undef __need_inttypes |