mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
b8ad90aba8
commit
2558be2579
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue