diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-09-01 07:39:16 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-09-01 07:39:16 +0000 |
commit | 25d162d6ce3855c3e7b7f07c33a419dd43a3d571 (patch) | |
tree | e595cbdb5f264d6fe3955bd9d109c55f75b70eec /firmware | |
parent | 8d54253b0d883399d0958850430acc41d9ec1663 (diff) |
Made queue_clear() atomic, and made the argument non-const
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5032 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/kernel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/kernel.h b/firmware/export/kernel.h index e3dc5ecaa9..0e8797f98c 100644 --- a/firmware/export/kernel.h +++ b/firmware/export/kernel.h @@ -72,7 +72,7 @@ extern void queue_wait(struct event_queue *q, struct event *ev); extern void queue_wait_w_tmo(struct event_queue *q, struct event *ev, int ticks); extern void queue_post(struct event_queue *q, int id, void *data); extern bool queue_empty(const struct event_queue* q); -void queue_clear(const struct event_queue* q); +void queue_clear(struct event_queue* q); extern int queue_broadcast(int id, void *data); extern void mutex_init(struct mutex *m); |