summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/machine
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-09-22 20:38:57 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-09-22 20:38:57 +0000
commit4b60bd34085a56980227f1ba080f397528949faf (patch)
treeed8e12711f691e6c0160fff32b2ad873f8f23e4b /cpukit/libnetworking/machine
parent2000-09-22 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-4b60bd34085a56980227f1ba080f397528949faf.tar.bz2
2000-09-22 Joel Sherrill <joel@OARcorp.com>
* 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.
Diffstat (limited to 'cpukit/libnetworking/machine')
-rw-r--r--cpukit/libnetworking/machine/types.h19
1 files changed, 10 insertions, 9 deletions
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 <rtems.h>
+#include <rtems/system.h>
+#include <rtems/score/cpu.h>
#include <machine/endian.h>
-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