Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
18654811
...
18654811dff870e49a68b89ec3edc123ff0f2356
authored
2004-07-01 09:05:56 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(iterator_current,iterator_set_getitem): Changed declaration
1 parent
e0f85d37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
mailbox/iterator.c
mailbox/iterator.c
View file @
1865481
...
...
@@ -61,7 +61,7 @@ iterator_set_next (iterator_t itr, int (*next) (void *))
}
int
iterator_set_getitem
(
iterator_t
itr
,
int
(
*
getitem
)
(
void
*
,
void
**
))
iterator_set_getitem
(
iterator_t
itr
,
int
(
*
getitem
)
(
void
*
,
void
*
const
*
))
{
if
(
!
itr
)
return
EINVAL
;
...
...
@@ -173,7 +173,7 @@ iterator_next (iterator_t iterator)
}
int
iterator_current
(
iterator_t
iterator
,
void
**
pitem
)
iterator_current
(
iterator_t
iterator
,
void
*
const
*
pitem
)
{
return
iterator
->
getitem
(
iterator
->
owner
,
pitem
);
}
...
...
Please
register
or
sign in
to post a comment