summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2010-05-21 12:58:00 +0000
committerAmaury Pouly <pamaury@rockbox.org>2010-05-21 12:58:00 +0000
commit2558be2579413c60754343c6b5d6f42348cee05d (patch)
treee263493e2cfbb9c75d9092e6297393ca11d819b3 /firmware
parentb8ad90aba84ab3cc75cb2405b2e455c526f61c38 (diff)
downloadrockbox-2558be2579413c60754343c6b5d6f42348cee05d.tar.gz
rockbox-2558be2579413c60754343c6b5d6f42348cee05d.tar.bz2
rockbox-2558be2579413c60754343c6b5d6f42348cee05d.zip
kernel: the header says queue_peek should always be compiled in but the source put it in the #ifdef HAVE_EXTENDED_MESSAGING_AND_NAME section
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26229 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/kernel.c b/firmware/kernel.c
index fe40c35002..e646c2ec9e 100644
--- a/firmware/kernel.c
+++ b/firmware/kernel.c
@@ -712,6 +712,7 @@ void queue_reply(struct event_queue *q, intptr_t retval)
restore_irq(oldlevel);
}
}
+#endif /* HAVE_EXTENDED_MESSAGING_AND_NAME */
bool queue_peek(struct event_queue *q, struct queue_event *ev)
{
@@ -734,7 +735,6 @@ bool queue_peek(struct event_queue *q, struct queue_event *ev)
return have_msg;
}
-#endif /* HAVE_EXTENDED_MESSAGING_AND_NAME */
/* Poll queue to see if a message exists - careful in using the result if
* queue_remove_from_head is called when messages are posted - possibly use