diff options
Diffstat (limited to 'nuttx/binfmt/binfmt_execmodule.c')
-rw-r--r-- | nuttx/binfmt/binfmt_execmodule.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/binfmt/binfmt_execmodule.c b/nuttx/binfmt/binfmt_execmodule.c index 10068b482..7d7f00b33 100644 --- a/nuttx/binfmt/binfmt_execmodule.c +++ b/nuttx/binfmt/binfmt_execmodule.c @@ -134,13 +134,13 @@ static void exec_ctors(FAR void *arg) int exec_module(FAR const struct binary_s *binp) { - FAR _TCB *tcb; + FAR struct tcb_s *tcb; #ifndef CONFIG_CUSTOM_STACK FAR uint32_t *stack; #endif - pid_t pid; - int err; - int ret; + pid_t pid; + int err; + int ret; /* Sanity checking */ @@ -156,7 +156,7 @@ int exec_module(FAR const struct binary_s *binp) /* Allocate a TCB for the new task. */ - tcb = (FAR _TCB*)kzalloc(sizeof(_TCB)); + tcb = (FAR struct tcb_s*)kzalloc(sizeof(struct tcb_s)); if (!tcb) { err = ENOMEM; |