summaryrefslogtreecommitdiff
path: root/nuttx/arch/sh/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-06 17:48:56 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-06 17:48:56 +0000
commitdcea5f0360725d2c25b61eefe9db7b2474b26dd6 (patch)
treeb0aee7184c85c0e94f64d214af29a567e831961e /nuttx/arch/sh/include
parent4011b03fa6a6a7889efea3451a3a125faa72c7fc (diff)
downloadpx4-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/sh/include')
-rw-r--r--nuttx/arch/sh/include/m16c/types.h10
-rw-r--r--nuttx/arch/sh/include/sh1/types.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/nuttx/arch/sh/include/m16c/types.h b/nuttx/arch/sh/include/m16c/types.h
index d14812860..4f84a3113 100644
--- a/nuttx/arch/sh/include/m16c/types.h
+++ b/nuttx/arch/sh/include/m16c/types.h
@@ -65,22 +65,22 @@
* int is 16-bits and long is 32-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;
-typedef long long _int64_t;
+typedef signed long long _int64_t;
typedef unsigned long long _uint64_t;
#define __INT64_DEFINED
/* 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
diff --git a/nuttx/arch/sh/include/sh1/types.h b/nuttx/arch/sh/include/sh1/types.h
index 79ed1a181..ac0769ecd 100644
--- a/nuttx/arch/sh/include/sh1/types.h
+++ b/nuttx/arch/sh/include/sh1/types.h
@@ -63,22 +63,22 @@
* files
*/
-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 _int32_t;
+typedef signed int _int32_t;
typedef unsigned int _uint32_t;
-typedef long long _int64_t;
+typedef signed long long _int64_t;
typedef unsigned long long _uint64_t;
#define __INT64_DEFINED
/* A pointer is 4 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