diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-07-30 23:50:02 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-07-30 23:50:02 +0000 |
commit | 17b7bc9be87b45e78366ef9313f68944ac31d358 (patch) | |
tree | 72285773b048f30d37164821b0783127d3f996f8 /src/utils/vector.c | |
parent | da16febcd7e453e26fc7eba5c33afe27f00d1134 (diff) | |
download | libparserutils-17b7bc9be87b45e78366ef9313f68944ac31d358.tar.gz libparserutils-17b7bc9be87b45e78366ef9313f68944ac31d358.tar.bz2 |
Constify
svn path=/trunk/libparserutils/; revision=4827
Diffstat (limited to 'src/utils/vector.c')
-rw-r--r-- | src/utils/vector.c | 3 |
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; |