Mercurial > dovecot > core-2.2
changeset 10133:1eedcee69ce7 HEAD
settings_find_dynamic() now takes const pointer.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 22 Oct 2009 18:27:57 -0400 |
parents | 47e1756f6047 |
children | 545bdb7670d2 |
files | src/lib-settings/settings-parser.c src/lib-settings/settings-parser.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-settings/settings-parser.c Thu Oct 22 17:56:01 2009 -0400 +++ b/src/lib-settings/settings-parser.c Thu Oct 22 18:27:57 2009 -0400 @@ -1131,7 +1131,7 @@ } T_END; } -const void *settings_find_dynamic(struct setting_parser_info *info, +const void *settings_find_dynamic(const struct setting_parser_info *info, const void *base_set, const char *name) { unsigned int i;
--- a/src/lib-settings/settings-parser.h Thu Oct 22 17:56:01 2009 -0400 +++ b/src/lib-settings/settings-parser.h Thu Oct 22 18:27:57 2009 -0400 @@ -169,7 +169,7 @@ /* Return pointer to beginning of settings for given name, or NULL if there is no such registered name. */ -const void *settings_find_dynamic(struct setting_parser_info *info, +const void *settings_find_dynamic(const struct setting_parser_info *info, const void *base_set, const char *name); /* Copy changed settings from src to dest. If conflict_key_r is not NULL and