mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
Sprinkle some const-correctness around new_tags.
To eliminate a compiler warning.
This commit is contained in:
parent
143d436874
commit
65d278afb1
3 changed files with 4 additions and 4 deletions
|
@ -183,7 +183,7 @@ notmuch_config_set_user_other_email (notmuch_config_t *config,
|
|||
const char *other_email[],
|
||||
size_t length);
|
||||
|
||||
char **
|
||||
const char **
|
||||
notmuch_config_get_new_tags (notmuch_config_t *config,
|
||||
size_t *length);
|
||||
void
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -35,7 +35,7 @@ typedef struct _filename_list {
|
|||
typedef struct {
|
||||
int output_is_a_tty;
|
||||
int verbose;
|
||||
char **new_tags;
|
||||
const char **new_tags;
|
||||
size_t new_tags_length;
|
||||
|
||||
int total_files;
|
||||
|
|
Loading…
Reference in a new issue