diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-23 13:13:17 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-23 13:13:17 +0000 |
commit | 20f78a33ff1fddc847a0db3fe80c6323021d5c7a (patch) | |
tree | 06faf4c968c6fdd042acf8610d85106642e462ce /cpukit/itron/include/itronsys/types.h | |
parent | 2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-20f78a33ff1fddc847a0db3fe80c6323021d5c7a.tar.bz2 |
2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>
* itron/include/itronsys/mbox.h, itron/include/itronsys/types.h,
itron/include/rtems/itron/eventflags.h,
itron/include/rtems/itron/fmempool.h,
itron/include/rtems/itron/mbox.h,
itron/include/rtems/itron/msgbuffer.h,
itron/include/rtems/itron/port.h,
itron/include/rtems/itron/semaphore.h,
itron/include/rtems/itron/task.h,
itron/include/rtems/itron/vmempool.h,
itron/inline/rtems/itron/semaphore.inl,
itron/macros/rtems/itron/semaphore.inl, itron/src/eventflags.c,
itron/src/fmempool.c, itron/src/itronsem.c, itron/src/mbox.c,
itron/src/msgbuffer.c, itron/src/port.c, itron/src/snd_mbx.c,
itron/src/task.c, itron/src/trcv_mbx.c, itron/src/vmempool.c:
Convert to using c99 fixed size types.
Diffstat (limited to '')
-rw-r--r-- | cpukit/itron/include/itronsys/types.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/cpukit/itron/include/itronsys/types.h b/cpukit/itron/include/itronsys/types.h index 03fe51947a..160c00ea88 100644 --- a/cpukit/itron/include/itronsys/types.h +++ b/cpukit/itron/include/itronsys/types.h @@ -22,16 +22,16 @@ extern "C" { * off the shell programs including paranoia. */ -typedef signed8 B; /* signed 8-bit integer */ -typedef signed16 H; /* signed 16-bit integer */ -typedef signed32 W; /* signed 32-bit integer */ -typedef unsigned8 UB; /* unsigned 8-bit integer */ -typedef unsigned16 UH; /* unsigned 16-bit integer */ -typedef unsigned32 UW; /* unsigned 32-bit integer */ +typedef int8_t B; /* signed 8-bit integer */ +typedef int16_t H; /* signed 16-bit integer */ +typedef int32_t W; /* signed 32-bit integer */ +typedef uint8_t UB; /* unsigned 8-bit integer */ +typedef uint16_t UH; /* unsigned 16-bit integer */ +typedef uint32_t UW; /* unsigned 32-bit integer */ -typedef unsigned32 VW; /* unpredictable data type (32-bit size) */ -typedef unsigned16 VH; /* unpredictable data type (16-bit size) */ -typedef unsigned8 VB; /* unpredictable data type (8-bit size) */ +typedef uint32_t VW; /* unpredictable data type (32-bit size) */ +typedef uint16_t VH; /* unpredictable data type (16-bit size) */ +typedef uint8_t VB; /* unpredictable data type (8-bit size) */ typedef void *VP; /* pointer to an unpredictable data type */ @@ -53,26 +53,26 @@ typedef void (*FP)(); /* program start address */ * and/or have special meanings. */ -typedef signed32 INT; /* Signed integer (bit width of processor) */ -typedef unsigned32 UINT; /* Unsigned integer (bit width of processor) */ +typedef int32_t INT; /* Signed integer (bit width of processor) */ +typedef uint32_t UINT; /* Unsigned integer (bit width of processor) */ typedef boolean BOOL; /* Boolean value. TRUE (1) or FALSE (0). */ -typedef signed16 FN; /* Function code. Signed integer. Maximum 2 bytes. */ +typedef int16_t FN; /* Function code. Signed integer. Maximum 2 bytes. */ typedef int ID; /* Object ID number (???id) */ /* Value range depends on the system. Usually */ /* a signed integer. Certain ID values may */ /* represent objects on other nodes when the */ /* connection function is supported. */ -typedef unsigned32 BOOL_ID;/* Boolean value or ID number */ +typedef uint32_t BOOL_ID;/* Boolean value or ID number */ -typedef signed32 HNO; /* Handler number */ -typedef signed32 RNO; /* Rendezvous number */ -typedef signed32 NODE; /* Node Number. Usually a signed integer. */ -typedef signed32 ATR; /* Object or handler attribute. */ +typedef int32_t HNO; /* Handler number */ +typedef int32_t RNO; /* Rendezvous number */ +typedef int32_t NODE; /* Node Number. Usually a signed integer. */ +typedef int32_t ATR; /* Object or handler attribute. */ /* An unsigned integer. */ -typedef signed32 ER; /* Error code. A signed integer. */ -typedef unsigned32 PRI; /* Task priority. A signed integer. */ -typedef signed32 TMO; /* Timeout value. A signed integer. */ +typedef int32_t ER; /* Error code. A signed integer. */ +typedef uint32_t PRI; /* Task priority. A signed integer. */ +typedef int32_t TMO; /* Timeout value. A signed integer. */ /* TMO_POL = 0 indicates polling, */ /* while TMO_FEVR = -1 indicates wait forever. */ |