aboutsummaryrefslogtreecommitdiffhomepage
path: root/command-line-arguments.h
diff options
context:
space:
mode:
authorGravatar David Bremner <bremner@debian.org>2011-12-12 23:54:24 -0400
committerGravatar David Bremner <bremner@debian.org>2011-12-13 00:00:44 -0400
commitf717d2ece1836c863f9cc02abd1ff2539307cd1d (patch)
tree85958c5859c5479cd00bc371fca4066679853e4e /command-line-arguments.h
parente00aeb4f85a57dedd6fb722c93e8a612b19412e7 (diff)
command-line-arguments.[ch]: make arrays of keyword descriptors const
It seems like it should never be necessary to modify these arrays after initialization.
Diffstat (limited to 'command-line-arguments.h')
-rw-r--r--command-line-arguments.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/command-line-arguments.h b/command-line-arguments.h
index af8b1ceb..de1734ad 100644
--- a/command-line-arguments.h
+++ b/command-line-arguments.h
@@ -38,7 +38,7 @@ typedef struct notmuch_opt_desc {
void *output_var;
const char *name;
int arg_id;
- struct notmuch_keyword *keywords;
+ const struct notmuch_keyword *keywords;
} notmuch_opt_desc_t;