From 16d2eec530d7d269332d81edc1975de6c99d61b4 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 15 Dec 2009 17:06:59 +0000 Subject: 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 --- nuttx/binfmt/binfmt_execmodule.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'nuttx/binfmt/binfmt_execmodule.c') 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 -#include +#include +#include #include #include #include @@ -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; -- cgit v1.2.3