diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-06 17:48:56 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-06 17:48:56 +0000 |
commit | dcea5f0360725d2c25b61eefe9db7b2474b26dd6 (patch) | |
tree | b0aee7184c85c0e94f64d214af29a567e831961e /nuttx/arch/z80 | |
parent | 4011b03fa6a6a7889efea3451a3a125faa72c7fc (diff) | |
download | px4-nuttx-dcea5f0360725d2c25b61eefe9db7b2474b26dd6.tar.gz px4-nuttx-dcea5f0360725d2c25b61eefe9db7b2474b26dd6.tar.bz2 px4-nuttx-dcea5f0360725d2c25b61eefe9db7b2474b26dd6.zip |
Remove user_initialize(); Make sure all integer types are signed that need to be
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3474 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80')
-rw-r--r-- | nuttx/arch/z80/include/ez80/types.h | 12 | ||||
-rw-r--r-- | nuttx/arch/z80/include/z8/types.h | 8 | ||||
-rw-r--r-- | nuttx/arch/z80/include/z80/types.h | 8 |
3 files changed, 14 insertions, 14 deletions
diff --git a/nuttx/arch/z80/include/ez80/types.h b/nuttx/arch/z80/include/ez80/types.h index 4ca48e697..f3569d9ba 100644 --- a/nuttx/arch/z80/include/ez80/types.h +++ b/nuttx/arch/z80/include/ez80/types.h @@ -72,17 +72,17 @@ * float - 32-bits */ -typedef char _int8_t; +typedef signed char _int8_t; typedef unsigned char _uint8_t; -typedef short _int16_t; +typedef signed short _int16_t; typedef unsigned short _uint16_t; -typedef int _int24_t; +typedef signed int _int24_t; typedef unsigned int _uint24_t; #define __INT24_DEFINED -typedef long _int32_t; +typedef signed long _int32_t; typedef unsigned long _uint32_t; /* A pointer is 2 or 3 bytes, depending upon if the ez80 is in z80 @@ -93,10 +93,10 @@ typedef unsigned long _uint32_t; */ #ifdef CONFIG_EZ80_Z80MODE -typedef short _intptr_t; +typedef signed short _intptr_t; typedef unsigned short _uintptr_t; #else -typedef int _intptr_t; +typedef signed int _intptr_t; typedef unsigned int _uintptr_t; #endif diff --git a/nuttx/arch/z80/include/z8/types.h b/nuttx/arch/z80/include/z8/types.h index 0e269a5de..324ca236c 100644 --- a/nuttx/arch/z80/include/z8/types.h +++ b/nuttx/arch/z80/include/z8/types.h @@ -79,18 +79,18 @@ * rom pointer - 16-bits */ -typedef char _int8_t; +typedef signed char _int8_t; typedef unsigned char _uint8_t; -typedef int _int16_t; +typedef signed int _int16_t; typedef unsigned int _uint16_t; -typedef long _int32_t; +typedef signed long _int32_t; typedef unsigned long _uint32_t; /* A pointer is 2 bytes */ -typedef unsigned int _intptr_t; +typedef signed int _intptr_t; typedef unsigned int _uintptr_t; /* This is the size of the interrupt state save returned by irqsave() */ diff --git a/nuttx/arch/z80/include/z80/types.h b/nuttx/arch/z80/include/z80/types.h index 652ea5adf..42bba5ac8 100644 --- a/nuttx/arch/z80/include/z80/types.h +++ b/nuttx/arch/z80/include/z80/types.h @@ -72,18 +72,18 @@ * space information. */ -typedef char _int8_t; +typedef signed char _int8_t; typedef unsigned char _uint8_t; -typedef int _int16_t; +typedef signed int _int16_t; typedef unsigned int _uint16_t; -typedef long _int32_t; +typedef signed long _int32_t; typedef unsigned long _uint32_t; /* A pointer is 2 bytes */ -typedef int _intptr_t; +typedef signed int _intptr_t; typedef unsigned int _uintptr_t; /* This is the size of the interrupt state save returned by irqsave() */ |