Commit f58e4a22 f58e4a226d86444df0c5ffdca73e4a862b87f81c by Sergey Poznyakoff

Updated declaration of getitem method.

1 parent c19148df
......@@ -389,7 +389,7 @@ next (void *owner)
}
static int
getitem (void *owner, void * const *pret)
getitem (void *owner, void **pret)
{
struct list_iterator *itr = owner;
*pret = itr->cur->item;
......
......@@ -32,7 +32,7 @@ static int nntp_itr_dup (void **ptr, void *owner);
static int nntp_itr_destroy (iterator_t itr, void *owner);
static int nntp_itr_first (void *owner);
static int nntp_itr_next (void *woner);
static int nntp_itr_getitem (void *owner, void * const *pret);
static int nntp_itr_getitem (void *owner, void **pret);
static int nntp_itr_curitem_p (void *owner, void *data);
static int nntp_itr_finished_p (void *owner);
......@@ -158,7 +158,7 @@ nntp_itr_next (void *owner)
}
static int
nntp_itr_getitem (void *owner, void * const *item)
nntp_itr_getitem (void *owner, void **item)
{
struct nntp_iterator *nntp_iterator = (struct nntp_iterator *)owner;
if (item)
......
......@@ -31,7 +31,7 @@ static int pop3_itr_dup (void **ptr, void *owner);
static int pop3_itr_destroy (iterator_t itr, void *owner);
static int pop3_itr_first (void *owner);
static int pop3_itr_next (void *woner);
static int pop3_itr_getitem (void *owner, void * const *pret);
static int pop3_itr_getitem (void *owner, void **pret);
static int pop3_itr_curitem_p (void *owner, void *data);
static int pop3_itr_finished_p (void *owner);
......@@ -157,7 +157,7 @@ pop3_itr_next (void *owner)
}
static int
pop3_itr_getitem (void *owner, void * const *item)
pop3_itr_getitem (void *owner, void **item)
{
struct pop3_iterator *pop3_iterator = (struct pop3_iterator *)owner;
if (item)
......