(iterator_current,iterator_set_getitem): Changed declaration
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -61,7 +61,7 @@ iterator_set_next (iterator_t itr, int (*next) (void *)) | ... | @@ -61,7 +61,7 @@ iterator_set_next (iterator_t itr, int (*next) (void *)) |
61 | } | 61 | } |
62 | 62 | ||
63 | int | 63 | int |
64 | iterator_set_getitem (iterator_t itr, int (*getitem) (void *, void **)) | 64 | iterator_set_getitem (iterator_t itr, int (*getitem) (void *, void * const *)) |
65 | { | 65 | { |
66 | if (!itr) | 66 | if (!itr) |
67 | return EINVAL; | 67 | return EINVAL; |
... | @@ -173,7 +173,7 @@ iterator_next (iterator_t iterator) | ... | @@ -173,7 +173,7 @@ iterator_next (iterator_t iterator) |
173 | } | 173 | } |
174 | 174 | ||
175 | int | 175 | int |
176 | iterator_current (iterator_t iterator, void **pitem) | 176 | iterator_current (iterator_t iterator, void * const *pitem) |
177 | { | 177 | { |
178 | return iterator->getitem (iterator->owner, pitem); | 178 | return iterator->getitem (iterator->owner, pitem); |
179 | } | 179 | } | ... | ... |
-
Please register or sign in to post a comment