4.104.114.84.95
Last change
on this file since 4b60bd3 was
4b60bd3,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/22/00 at 20:38:57
|
2000-09-22 Joel Sherrill <joel@…>
- 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.
|
-
Property mode set to
100644
|
File size:
791 bytes
|
Line | |
---|
1 | /* |
---|
2 | * This file will have to be incorparated into the RTEMS source |
---|
3 | * tree (probably in the existing <machine/types.h> so that these |
---|
4 | * contents are included when an application source file includes |
---|
5 | * <sys/types.h>. |
---|
6 | * |
---|
7 | * $Id$ |
---|
8 | */ |
---|
9 | |
---|
10 | #ifndef _MACHINE_TYPES_H_ |
---|
11 | #define _MACHINE_TYPES_H_ |
---|
12 | |
---|
13 | #include <rtems/system.h> |
---|
14 | #include <rtems/score/cpu.h> |
---|
15 | #include <machine/endian.h> |
---|
16 | |
---|
17 | typedef signed64 int64_t; |
---|
18 | typedef signed32 int32_t; |
---|
19 | typedef signed16 int16_t; |
---|
20 | typedef signed8 int8_t; |
---|
21 | |
---|
22 | typedef unsigned64 u_int64_t; |
---|
23 | typedef unsigned32 u_int32_t; |
---|
24 | typedef unsigned16 u_int16_t; |
---|
25 | typedef unsigned8 u_int8_t; |
---|
26 | |
---|
27 | #define _CLOCK_T_ unsigned long |
---|
28 | #define _TIME_T_ long |
---|
29 | |
---|
30 | #ifdef _COMPILING_BSD_KERNEL_ |
---|
31 | #include <rtems/rtems_bsdnet_internal.h> |
---|
32 | #include <rtems/rtems_bsdnet.h> |
---|
33 | #endif |
---|
34 | |
---|
35 | #endif /* _MACHINE_TYPES_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.