summaryrefslogtreecommitdiff
path: root/nuttx/include/fixedmath.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-14 15:46:55 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-14 15:46:55 +0000
commit24bdea23f746984480bd59dd13dd4d631a210320 (patch)
tree66cd9e753d9cf77ec35b1b06be757025188cefab /nuttx/include/fixedmath.h
parenta23845ccf98018e8fc455677579fca2a947e1074 (diff)
downloadnuttx-24bdea23f746984480bd59dd13dd4d631a210320.tar.gz
nuttx-24bdea23f746984480bd59dd13dd4d631a210320.tar.bz2
nuttx-24bdea23f746984480bd59dd13dd4d631a210320.zip
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2335 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/fixedmath.h')
-rw-r--r--nuttx/include/fixedmath.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/nuttx/include/fixedmath.h b/nuttx/include/fixedmath.h
index 1c4253754..b139acf5b 100644
--- a/nuttx/include/fixedmath.h
+++ b/nuttx/include/fixedmath.h
@@ -40,7 +40,7 @@
* Included Files
****************************************************************************/
-#include <sys/types.h>
+#include <stdint.h>
/**************************************************************************
* Definitions
@@ -185,13 +185,13 @@
* Public Types
**************************************************************************/
-typedef sint16 b8_t;
-typedef uint16 ub8_t;
-typedef sint32 b16_t;
-typedef uint32 ub16_t;
+typedef int16_t b8_t;
+typedef uint16_t ub8_t;
+typedef int32_t b16_t;
+typedef uint32_t ub16_t;
#ifdef CONFIG_HAVE_LONG_LONG
-typedef sint64 b32_t;
-typedef uint64 ub32_t;
+typedef int64_t b32_t;
+typedef uint64_t ub32_t;
#endif
/**************************************************************************