summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-07-30 23:50:02 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-07-30 23:50:02 +0000
commit17b7bc9be87b45e78366ef9313f68944ac31d358 (patch)
tree72285773b048f30d37164821b0783127d3f996f8 /src/utils
parentda16febcd7e453e26fc7eba5c33afe27f00d1134 (diff)
downloadlibparserutils-17b7bc9be87b45e78366ef9313f68944ac31d358.tar.gz
libparserutils-17b7bc9be87b45e78366ef9313f68944ac31d358.tar.bz2
Constify
svn path=/trunk/libparserutils/; revision=4827
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/vector.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/vector.c b/src/utils/vector.c
index b3ec8a4..a289b61 100644
--- a/src/utils/vector.c
+++ b/src/utils/vector.c
@@ -161,7 +161,8 @@ parserutils_error parserutils_vector_remove_last(parserutils_vector *vector)
* \param ctx Pointer to an integer for the iterator to use as context.
* \return Pointer to current item, or NULL if no more
*/
-void *parserutils_vector_iterate(parserutils_vector *vector, int32_t *ctx)
+const void *parserutils_vector_iterate(const parserutils_vector *vector,
+ int32_t *ctx)
{
void *item;