summaryrefslogtreecommitdiff
path: root/nuttx/sched/sched_free.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-02-20 23:51:56 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-02-20 23:51:56 +0000
commitf26db4e2308c961f1cb52fcb656c85a144f8fd16 (patch)
tree94f39b537ed7d08643849037dde567662056882a /nuttx/sched/sched_free.c
parent5e160e6e0cdfae48ea120909e7febc62b6b56eb2 (diff)
downloadpx4-nuttx-f26db4e2308c961f1cb52fcb656c85a144f8fd16.tar.gz
px4-nuttx-f26db4e2308c961f1cb52fcb656c85a144f8fd16.tar.bz2
px4-nuttx-f26db4e2308c961f1cb52fcb656c85a144f8fd16.zip
Fixes for STDCC compiler (more needed)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@16 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/sched_free.c')
-rw-r--r--nuttx/sched/sched_free.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/sched_free.c b/nuttx/sched/sched_free.c
index 205da0a46..9fc2a261d 100644
--- a/nuttx/sched/sched_free.c
+++ b/nuttx/sched/sched_free.c
@@ -90,9 +90,9 @@ void sched_free(void *address)
{
/* Yes.. Delay the deallocation until a more appropriate time. */
- uint32 savedState = irqsave();
+ uint32 saved_state = irqsave();
sq_addlast((sq_entry_t*)address, &g_delayeddeallocations);
- irqrestore(savedState);
+ irqrestore(saved_state);
}
else
{