From 65d278afb1174a4005a613cca8c306289b195876 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Fri, 23 Apr 2010 09:19:52 -0700 Subject: Sprinkle some const-correctness around new_tags. To eliminate a compiler warning. --- notmuch-config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'notmuch-config.c') diff --git a/notmuch-config.c b/notmuch-config.c index ebddbf88..fa096287 100644 --- a/notmuch-config.c +++ b/notmuch-config.c @@ -68,7 +68,7 @@ struct _notmuch_config { char *user_primary_email; char **user_other_email; size_t user_other_email_length; - char **new_tags; + const char **new_tags; size_t new_tags_length; }; @@ -474,7 +474,7 @@ notmuch_config_set_user_other_email (notmuch_config_t *config, config->user_other_email = NULL; } -char ** +const char ** notmuch_config_get_new_tags (notmuch_config_t *config, size_t *length) { -- cgit v1.2.3