1
0
Fork 0
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:
Jens Arnold 2004-08-16 23:37:23 +00:00
parent 8b131ac1fb
commit c76c568b35
20 changed files with 48 additions and 45 deletions

View file

@ -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 );
}