summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/machine
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2005-02-24 18:29:31 +0000
committerJeff Johnston <jjohnstn@redhat.com>2005-02-24 18:29:31 +0000
commitf2f8a9a2298b14b59a6e6e2a675cc117e2cbe157 (patch)
treef7c9dcb76a6ed3799579fbb41807a377099cd6c8 /newlib/libc/include/machine
parent45df57e8d8801f5b01c3e45a2c427b55845dac19 (diff)
downloadcygnal-f2f8a9a2298b14b59a6e6e2a675cc117e2cbe157.tar.gz
cygnal-f2f8a9a2298b14b59a6e6e2a675cc117e2cbe157.tar.bz2
cygnal-f2f8a9a2298b14b59a6e6e2a675cc117e2cbe157.zip
2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
* libc/include/sys/types.h [__rtems__]: Include new header file machine/_types.h. * libc/include/machine/types.h: Ditto. * libc/sys/rtems/machine/_types.h: New file.
Diffstat (limited to 'newlib/libc/include/machine')
-rw-r--r--newlib/libc/include/machine/types.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/newlib/libc/include/machine/types.h b/newlib/libc/include/machine/types.h
index b573336b7..40a75faa5 100644
--- a/newlib/libc/include/machine/types.h
+++ b/newlib/libc/include/machine/types.h
@@ -6,25 +6,8 @@
* closely match the types defined in the BSD machine/types.h.
* This is needed to let the RTEMS/BSD TCP/IP stack compile.
*/
-
#if defined(__rtems__)
-typedef signed long long int64_t;
-#if defined( __h8300__)
-typedef signed long int32_t;
-#else
-typedef signed int int32_t;
-#endif
-typedef signed short int16_t;
-typedef signed char int8_t;
-
-typedef unsigned long long u_int64_t;
-#if defined( __h8300__)
-typedef unsigned long u_int32_t;
-#else
-typedef unsigned int u_int32_t;
-#endif
-typedef unsigned short u_int16_t;
-typedef unsigned char u_int8_t;
+#include <machine/_types.h>
#endif
#define _CLOCK_T_ unsigned long /* clock() */