forked from len0rd/rockbox
Const policed pointer arguments to functions, part 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8b131ac1fb
commit
c76c568b35
20 changed files with 48 additions and 45 deletions
|
@ -126,7 +126,7 @@ void queue_post(struct event_queue *q, int id, void *data)
|
|||
set_irq_level(oldlevel);
|
||||
}
|
||||
|
||||
bool queue_empty(struct event_queue* q)
|
||||
bool queue_empty(const struct event_queue* q)
|
||||
{
|
||||
return ( q->read == q->write );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue