summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-08-16 23:37:23 +0000
committerJens Arnold <amiconn@rockbox.org>2004-08-16 23:37:23 +0000
commitc76c568b351d37c485f78cd185b2d52d54fe7a34 (patch)
treeca65a23113fb82941855e44b5dcc3a0896885882 /uisimulator
parent8b131ac1fb04cb96094044dca7423a8d1da7f690 (diff)
downloadrockbox-c76c568b351d37c485f78cd185b2d52d54fe7a34.tar.gz
rockbox-c76c568b351d37c485f78cd185b2d52d54fe7a34.zip
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 'uisimulator')
-rw-r--r--uisimulator/win32/kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/win32/kernel.c b/uisimulator/win32/kernel.c
index 77ae6bffb2..b7c4af1eb1 100644
--- a/uisimulator/win32/kernel.c
+++ b/uisimulator/win32/kernel.c
@@ -94,7 +94,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 );
}