diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-14 15:46:55 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-14 15:46:55 +0000 |
commit | 24bdea23f746984480bd59dd13dd4d631a210320 (patch) | |
tree | 66cd9e753d9cf77ec35b1b06be757025188cefab /nuttx/include/time.h | |
parent | a23845ccf98018e8fc455677579fca2a947e1074 (diff) | |
download | px4-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.h | 5 |
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 |