summaryrefslogtreecommitdiff
path: root/nuttx/include/time.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/time.h
parenta23845ccf98018e8fc455677579fca2a947e1074 (diff)
downloadpx4-nuttx-24bdea23f746984480bd59dd13dd4d631a210320.tar.gz
px4-nuttx-24bdea23f746984480bd59dd13dd4d631a210320.tar.bz2
px4-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/time.h')
-rw-r--r--nuttx/include/time.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/include/time.h b/nuttx/include/time.h
index bffde1041..f2605f3a2 100644
--- a/nuttx/include/time.h
+++ b/nuttx/include/time.h
@@ -42,6 +42,7 @@
#include <nuttx/config.h>
#include <sys/types.h>
+#include <stdint.h>
/********************************************************************************
* Compilations Switches
@@ -82,8 +83,8 @@
* Global Type Declarations
********************************************************************************/
-typedef uint32 time_t; /* Holds time in seconds */
-typedef ubyte clockid_t; /* Identifies one time base source */
+typedef uint32_ time_t; /* Holds time in seconds */
+typedef uint8_t clockid_t; /* Identifies one time base source */
typedef FAR void *timer_t; /* Represents one POSIX timer */
struct timespec