Commit 145b498c 145b498cab575b228dc18b182a9ed9cc9e8ebcd3 by Sergey Poznyakoff

Added missing include

(nntp_itr_getitem): Changed declaration
1 parent abfad795
...@@ -26,12 +26,13 @@ ...@@ -26,12 +26,13 @@
26 #include <stdio.h> 26 #include <stdio.h>
27 #include <errno.h> 27 #include <errno.h>
28 #include <mailutils/sys/nntp.h> 28 #include <mailutils/sys/nntp.h>
29 #include <mailutils/iterator.h>
29 30
30 static int nntp_itr_dup (void **ptr, void *owner); 31 static int nntp_itr_dup (void **ptr, void *owner);
31 static int nntp_itr_destroy (iterator_t itr, void *owner); 32 static int nntp_itr_destroy (iterator_t itr, void *owner);
32 static int nntp_itr_first (void *owner); 33 static int nntp_itr_first (void *owner);
33 static int nntp_itr_next (void *woner); 34 static int nntp_itr_next (void *woner);
34 static int nntp_itr_getitem (void *owner, void **pret); 35 static int nntp_itr_getitem (void *owner, void * const *pret);
35 static int nntp_itr_curitem_p (void *owner, void *data); 36 static int nntp_itr_curitem_p (void *owner, void *data);
36 static int nntp_itr_finished_p (void *owner); 37 static int nntp_itr_finished_p (void *owner);
37 38
...@@ -157,7 +158,7 @@ nntp_itr_next (void *owner) ...@@ -157,7 +158,7 @@ nntp_itr_next (void *owner)
157 } 158 }
158 159
159 static int 160 static int
160 nntp_itr_getitem (void *owner, void **item) 161 nntp_itr_getitem (void *owner, void * const *item)
161 { 162 {
162 struct nntp_iterator *nntp_iterator = (struct nntp_iterator *)owner; 163 struct nntp_iterator *nntp_iterator = (struct nntp_iterator *)owner;
163 if (item) 164 if (item)
......