From 05ad815133fcb0ade9a1040069dedba1abf9d6f0 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sat, 26 Apr 2008 16:35:40 +0300 Subject: Mark some constant symbols as such --- m_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm_config.c') diff --git a/m_config.c b/m_config.c index fc61494f0d..09329ba287 100644 --- a/m_config.c +++ b/m_config.c @@ -61,7 +61,7 @@ m_config_t *m_config_new(void *optstruct, m_config_t* config; static int initialized = 0; static m_option_type_t profile_opt_type; - static m_option_t ref_opts[] = { + static const m_option_t ref_opts[] = { { "profile", NULL, &profile_opt_type, CONF_NOSAVE, 0, 0, NULL }, { "show-profile", show_profile, CONF_TYPE_PRINT_FUNC, CONF_NOCFG, 0, 0, NULL }, { "list-options", list_options, CONF_TYPE_PRINT_FUNC, CONF_NOCFG, 0, 0, NULL }, -- cgit v1.2.3