summaryrefslogtreecommitdiff
path: root/nuttx/sched
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-17 16:18:49 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-17 16:18:49 +0000
commit054179a134bf123279f6c3774a773d838e95c181 (patch)
tree44adc6204e67299efc82d7693e6c42751bc1d20e /nuttx/sched
parent8b2c41f6451844b8af4a30e45e288ee71ed45240 (diff)
downloadpx4-nuttx-054179a134bf123279f6c3774a773d838e95c181.tar.gz
px4-nuttx-054179a134bf123279f6c3774a773d838e95c181.tar.bz2
px4-nuttx-054179a134bf123279f6c3774a773d838e95c181.zip
Add strerror()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@80 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched')
-rw-r--r--nuttx/sched/os_start.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/os_start.c b/nuttx/sched/os_start.c
index 2c5da51a2..30a8cb587 100644
--- a/nuttx/sched/os_start.c
+++ b/nuttx/sched/os_start.c
@@ -264,7 +264,7 @@ void os_start(void)
/* Then add the idle task's TCB to the head of the ready to run list */
- dq_addfirst((FAR dq_entry_t*)&g_idletcb, &g_readytorun);
+ dq_addfirst((FAR dq_entry_t*)&g_idletcb, (dq_queue_t*)&g_readytorun);
/* Initialize the processor-specific portion of the TCB */
@@ -435,7 +435,7 @@ void os_start(void)
/* Remove the first delayed deallocation. */
irqstate_t saved_state = irqsave();
- void *address = (void*)sq_remfirst(&g_delayeddeallocations);
+ void *address = (void*)sq_remfirst((sq_queue_t*)&g_delayeddeallocations);
irqrestore(saved_state);
/* Then deallocate it */