Updated declaration of getitem method.
Showing
3 changed files
with
5 additions
and
5 deletions
... | @@ -389,7 +389,7 @@ next (void *owner) | ... | @@ -389,7 +389,7 @@ next (void *owner) |
389 | } | 389 | } |
390 | 390 | ||
391 | static int | 391 | static int |
392 | getitem (void *owner, void * const *pret) | 392 | getitem (void *owner, void **pret) |
393 | { | 393 | { |
394 | struct list_iterator *itr = owner; | 394 | struct list_iterator *itr = owner; |
395 | *pret = itr->cur->item; | 395 | *pret = itr->cur->item; | ... | ... |
... | @@ -32,7 +32,7 @@ static int nntp_itr_dup (void **ptr, void *owner); | ... | @@ -32,7 +32,7 @@ static int nntp_itr_dup (void **ptr, void *owner); |
32 | static int nntp_itr_destroy (iterator_t itr, void *owner); | 32 | static int nntp_itr_destroy (iterator_t itr, void *owner); |
33 | static int nntp_itr_first (void *owner); | 33 | static int nntp_itr_first (void *owner); |
34 | static int nntp_itr_next (void *woner); | 34 | static int nntp_itr_next (void *woner); |
35 | static int nntp_itr_getitem (void *owner, void * const *pret); | 35 | static int nntp_itr_getitem (void *owner, void **pret); |
36 | static int nntp_itr_curitem_p (void *owner, void *data); | 36 | static int nntp_itr_curitem_p (void *owner, void *data); |
37 | static int nntp_itr_finished_p (void *owner); | 37 | static int nntp_itr_finished_p (void *owner); |
38 | 38 | ||
... | @@ -158,7 +158,7 @@ nntp_itr_next (void *owner) | ... | @@ -158,7 +158,7 @@ nntp_itr_next (void *owner) |
158 | } | 158 | } |
159 | 159 | ||
160 | static int | 160 | static int |
161 | nntp_itr_getitem (void *owner, void * const *item) | 161 | nntp_itr_getitem (void *owner, void **item) |
162 | { | 162 | { |
163 | struct nntp_iterator *nntp_iterator = (struct nntp_iterator *)owner; | 163 | struct nntp_iterator *nntp_iterator = (struct nntp_iterator *)owner; |
164 | if (item) | 164 | if (item) | ... | ... |
... | @@ -31,7 +31,7 @@ static int pop3_itr_dup (void **ptr, void *owner); | ... | @@ -31,7 +31,7 @@ static int pop3_itr_dup (void **ptr, void *owner); |
31 | static int pop3_itr_destroy (iterator_t itr, void *owner); | 31 | static int pop3_itr_destroy (iterator_t itr, void *owner); |
32 | static int pop3_itr_first (void *owner); | 32 | static int pop3_itr_first (void *owner); |
33 | static int pop3_itr_next (void *woner); | 33 | static int pop3_itr_next (void *woner); |
34 | static int pop3_itr_getitem (void *owner, void * const *pret); | 34 | static int pop3_itr_getitem (void *owner, void **pret); |
35 | static int pop3_itr_curitem_p (void *owner, void *data); | 35 | static int pop3_itr_curitem_p (void *owner, void *data); |
36 | static int pop3_itr_finished_p (void *owner); | 36 | static int pop3_itr_finished_p (void *owner); |
37 | 37 | ||
... | @@ -157,7 +157,7 @@ pop3_itr_next (void *owner) | ... | @@ -157,7 +157,7 @@ pop3_itr_next (void *owner) |
157 | } | 157 | } |
158 | 158 | ||
159 | static int | 159 | static int |
160 | pop3_itr_getitem (void *owner, void * const *item) | 160 | pop3_itr_getitem (void *owner, void **item) |
161 | { | 161 | { |
162 | struct pop3_iterator *pop3_iterator = (struct pop3_iterator *)owner; | 162 | struct pop3_iterator *pop3_iterator = (struct pop3_iterator *)owner; |
163 | if (item) | 163 | if (item) | ... | ... |
-
Please register or sign in to post a comment