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
This commit is contained in:
Amaury Pouly 2010-05-21 12:58:00 +00:00
parent b8ad90aba8
commit 2558be2579

View file

@ -712,6 +712,7 @@ void queue_reply(struct event_queue *q, intptr_t retval)
restore_irq(oldlevel); restore_irq(oldlevel);
} }
} }
#endif /* HAVE_EXTENDED_MESSAGING_AND_NAME */
bool queue_peek(struct event_queue *q, struct queue_event *ev) 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; return have_msg;
} }
#endif /* HAVE_EXTENDED_MESSAGING_AND_NAME */
/* Poll queue to see if a message exists - careful in using the result if /* 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 * queue_remove_from_head is called when messages are posted - possibly use