diff options
author | Jens Arnold <amiconn@rockbox.org> | 2004-08-16 23:37:23 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2004-08-16 23:37:23 +0000 |
commit | c76c568b351d37c485f78cd185b2d52d54fe7a34 (patch) | |
tree | ca65a23113fb82941855e44b5dcc3a0896885882 /firmware/kernel.c | |
parent | 8b131ac1fb04cb96094044dca7423a8d1da7f690 (diff) |
Const policed pointer arguments to functions, part 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/kernel.c')
-rw-r--r-- | firmware/kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/kernel.c b/firmware/kernel.c index ec2c149cc5..2cb87ccbc9 100644 --- a/firmware/kernel.c +++ b/firmware/kernel.c @@ -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 ); } |