summaryrefslogtreecommitdiff
path: root/nuttx/sched/os_bringup.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-02 19:31:30 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-02 19:31:30 +0000
commit60185fe969614b01d5dc57f3aa157b24d2901af6 (patch)
treed63a6a6a97cae8d4fe62b41e900fbcd5c29aceaf /nuttx/sched/os_bringup.c
parentf1851b468b62b448a0d9ed343d4ca8b9987e0d53 (diff)
downloadpx4-nuttx-60185fe969614b01d5dc57f3aa157b24d2901af6.tar.gz
px4-nuttx-60185fe969614b01d5dc57f3aa157b24d2901af6.tar.bz2
px4-nuttx-60185fe969614b01d5dc57f3aa157b24d2901af6.zip
New interface task_spawn(); exec_builtin() now uses task_spawn(); All argv types should be char * const * not const char **
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5598 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/os_bringup.c')
-rw-r--r--nuttx/sched/os_bringup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/sched/os_bringup.c b/nuttx/sched/os_bringup.c
index 610d8515a..85cb5e627 100644
--- a/nuttx/sched/os_bringup.c
+++ b/nuttx/sched/os_bringup.c
@@ -141,7 +141,7 @@ int os_bringup(void)
g_pgworker = KERNEL_THREAD("pgfill", CONFIG_PAGING_DEFPRIO,
CONFIG_PAGING_STACKSIZE,
- (main_t)pg_worker, (const char **)NULL);
+ (main_t)pg_worker, (FAR char * const *)NULL);
ASSERT(g_pgworker != ERROR);
#endif
@@ -154,7 +154,7 @@ int os_bringup(void)
g_work[HPWORK].pid = KERNEL_THREAD("work0", CONFIG_SCHED_WORKPRIORITY,
CONFIG_SCHED_WORKSTACKSIZE,
- (main_t)work_hpthread, (const char **)NULL);
+ (main_t)work_hpthread, (FAR char * const *)NULL);
ASSERT(g_work[HPWORK].pid != ERROR);
/* Start a lower priority worker thread for other, non-critical continuation
@@ -166,7 +166,7 @@ int os_bringup(void)
g_work[LPWORK].pid = KERNEL_THREAD("work1", CONFIG_SCHED_LPWORKPRIORITY,
CONFIG_SCHED_LPWORKSTACKSIZE,
- (main_t)work_lpthread, (const char **)NULL);
+ (main_t)work_lpthread, (FAR char * const *)NULL);
ASSERT(g_work[LPWORK].pid != ERROR);
#endif
#endif
@@ -182,7 +182,7 @@ int os_bringup(void)
init_taskid = TASK_CREATE("init", SCHED_PRIORITY_DEFAULT,
CONFIG_USERMAIN_STACKSIZE,
- (main_t)CONFIG_USER_ENTRYPOINT, (const char **)NULL);
+ (main_t)CONFIG_USER_ENTRYPOINT, (FAR char * const *)NULL);
ASSERT(init_taskid != ERROR);
/* We an save a few bytes by discarding the IDLE thread's environment. */