diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-15 17:06:59 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-15 17:06:59 +0000 |
commit | 16d2eec530d7d269332d81edc1975de6c99d61b4 (patch) | |
tree | 1cfec3ee5e021e932c68b5868486b0046e776b8f /nuttx/binfmt/binfmt_execmodule.c | |
parent | ceb27f64b4e5c1740c5d5d4730b57c48f5745735 (diff) | |
download | px4-nuttx-16d2eec530d7d269332d81edc1975de6c99d61b4.tar.gz px4-nuttx-16d2eec530d7d269332d81edc1975de6c99d61b4.tar.bz2 px4-nuttx-16d2eec530d7d269332d81edc1975de6c99d61b4.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@2349 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/binfmt/binfmt_execmodule.c')
-rw-r--r-- | nuttx/binfmt/binfmt_execmodule.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/nuttx/binfmt/binfmt_execmodule.c b/nuttx/binfmt/binfmt_execmodule.c index 21fe55987..6c8dd37f3 100644 --- a/nuttx/binfmt/binfmt_execmodule.c +++ b/nuttx/binfmt/binfmt_execmodule.c @@ -38,8 +38,9 @@ ****************************************************************************/ #include <nuttx/config.h> -#include <sys/types.h> +#include <sys/types.h> +#include <stdint.h> #include <stdlib.h> #include <sched.h> #include <debug.h> @@ -88,13 +89,13 @@ int exec_module(FAR const struct binary_s *bin, int priority) { - FAR _TCB *tcb; + FAR _TCB *tcb; #ifndef CONFIG_CUSTOM_STACK - FAR uint32 *stack; + FAR uint32_t *stack; #endif - pid_t pid; - int err; - int ret; + pid_t pid; + int err; + int ret; /* Sanity checking */ @@ -120,7 +121,7 @@ int exec_module(FAR const struct binary_s *bin, int priority) /* Allocate the stack for the new task */ #ifndef CONFIG_CUSTOM_STACK - stack = (FAR uint32*)malloc(bin->stacksize); + stack = (FAR uint32_t*)malloc(bin->stacksize); if (!tcb) { err = ENOMEM; |