summaryrefslogtreecommitdiff
path: root/nuttx/sched/task_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/task_create.c')
-rw-r--r--nuttx/sched/task_create.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/sched/task_create.c b/nuttx/sched/task_create.c
index 944743200..bcb9c77c0 100644
--- a/nuttx/sched/task_create.c
+++ b/nuttx/sched/task_create.c
@@ -100,10 +100,10 @@
#ifndef CONFIG_CUSTOM_STACK
static int thread_create(const char *name, uint8_t ttype, int priority,
- int stack_size, main_t entry, const char **argv)
+ int stack_size, main_t entry, FAR char * const argv[])
#else
static int thread_create(const char *name, uint8_t ttype, int priority,
- main_t entry, const char **argv)
+ main_t entry, FAR char * const argv[])
#endif
{
FAR _TCB *tcb;
@@ -244,10 +244,10 @@ errout:
#ifndef CONFIG_CUSTOM_STACK
int task_create(const char *name, int priority,
- int stack_size, main_t entry, const char *argv[])
+ int stack_size, main_t entry, FAR char * const argv[])
#else
int task_create(const char *name, int priority,
- main_t entry, const char *argv[])
+ main_t entry, FAR char * const argv[])
#endif
{
#ifndef CONFIG_CUSTOM_STACK
@@ -275,10 +275,10 @@ int task_create(const char *name, int priority,
#ifndef CONFIG_CUSTOM_STACK
int kernel_thread(const char *name, int priority,
- int stack_size, main_t entry, const char *argv[])
+ int stack_size, main_t entry, FAR char * const argv[])
#else
int kernel_thread(const char *name, int priority,
- main_t entry, const char *argv[])
+ main_t entry, FAR char * const argv[])
#endif
{
#ifndef CONFIG_CUSTOM_STACK