From f717d2ece1836c863f9cc02abd1ff2539307cd1d Mon Sep 17 00:00:00 2001 From: David Bremner Date: Mon, 12 Dec 2011 23:54:24 -0400 Subject: command-line-arguments.[ch]: make arrays of keyword descriptors const It seems like it should never be necessary to modify these arrays after initialization. --- command-line-arguments.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'command-line-arguments.h') 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; -- cgit v1.2.3