From 2a1fc53c92f5308e6bda3902df45f058e465917e Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 8 Dec 2005 19:45:43 +0000 Subject: 2005-12-08 Shaun Jackman * libc/include/sys/types.h: Remove the ifdef armour around standard POSIX types. --- newlib/ChangeLog | 5 +++++ newlib/libc/include/sys/types.h | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 28b4924da..10001d43b 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2005-12-08 Shaun Jackman + + * libc/include/sys/types.h: Remove the ifdef armour around + standard POSIX types. + 2005-12-06 Ralf Corsepius * 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 5c288bfc0..d03de7bfa 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 @@ -380,8 +373,6 @@ typedef struct { #endif #endif /* defined(_POSIX_THREADS) */ -#endif /* defined(__rtems__) */ - #endif /* !__need_inttypes */ #undef __need_inttypes -- cgit v1.2.3