From 4b60bd34085a56980227f1ba080f397528949faf Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 22 Sep 2000 20:38:57 +0000 Subject: 2000-09-22 Joel Sherrill * machine/types.h, pppd/pppd.h, rtems/rtems_bsdnet_internal.h, rtems_webserver/webmain.c: machine/types.h should not have included rtems.h. It is now including precisely the least amount of low level, yet portable .h files to get the basic RTEMS types defined. This rippled into other files since rtems_bsdnet_internal.h used machine/types.h to include rtems.h. --- cpukit/libnetworking/machine/types.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'cpukit/libnetworking/machine') diff --git a/cpukit/libnetworking/machine/types.h b/cpukit/libnetworking/machine/types.h index 730a6dec1d..8383448bb3 100644 --- a/cpukit/libnetworking/machine/types.h +++ b/cpukit/libnetworking/machine/types.h @@ -10,18 +10,19 @@ #ifndef _MACHINE_TYPES_H_ #define _MACHINE_TYPES_H_ -#include +#include +#include #include -typedef rtems_signed64 int64_t; -typedef rtems_signed32 int32_t; -typedef rtems_signed16 int16_t; -typedef rtems_signed8 int8_t; +typedef signed64 int64_t; +typedef signed32 int32_t; +typedef signed16 int16_t; +typedef signed8 int8_t; -typedef rtems_unsigned64 u_int64_t; -typedef rtems_unsigned32 u_int32_t; -typedef rtems_unsigned16 u_int16_t; -typedef rtems_unsigned8 u_int8_t; +typedef unsigned64 u_int64_t; +typedef unsigned32 u_int32_t; +typedef unsigned16 u_int16_t; +typedef unsigned8 u_int8_t; #define _CLOCK_T_ unsigned long #define _TIME_T_ long -- cgit v1.2.3