summaryrefslogtreecommitdiffstats
path: root/nuttx/sched/os_start.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2007-03-17 16:18:49 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2007-03-17 16:18:49 +0000
commit59f8dbd3a0252e2cd90276b13832f260555732e9 (patch)
tree44adc6204e67299efc82d7693e6c42751bc1d20e /nuttx/sched/os_start.c
parentbc91bf51fbdbae8c8305629d685f2fc0f6087636 (diff)
Add strerror()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@80 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/sched/os_start.c')
-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 2c5da51a2b..30a8cb5873 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 */