aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-config.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-04-23 09:19:52 -0700
committerGravatar Carl Worth <cworth@cworth.org>2010-04-23 09:19:52 -0700
commit65d278afb1174a4005a613cca8c306289b195876 (patch)
treeecc5dcf4489979e7efc5a2e8dc14742dda71de14 /notmuch-config.c
parent143d43687410aefec7988e2d785a63c60c6062b5 (diff)
Sprinkle some const-correctness around new_tags.
To eliminate a compiler warning.
Diffstat (limited to 'notmuch-config.c')
-rw-r--r--notmuch-config.c4
1 files changed, 2 insertions, 2 deletions
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)
{