diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/queue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/queue.h b/include/queue.h index 9a5d7b8..5a9cf39 100644 --- a/include/queue.h +++ b/include/queue.h @@ -21,8 +21,8 @@ void queue_destroy(struct queue *b); unsigned int queue_len(const struct queue *b); int queue_add(struct queue *b, const void *data, size_t size); void queue_del(struct queue *b, void *data); -void queue_iterate(struct queue *b, - const void *data, +void queue_iterate(struct queue *b, + const void *data, int (*iterate)(void *data1, const void *data2)); #endif |