summaryrefslogtreecommitdiffstats
path: root/input/input.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-26 16:35:40 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-26 16:35:40 +0300
commit05ad815133fcb0ade9a1040069dedba1abf9d6f0 (patch)
treecead166eb1f9fe7f1be9c0de374e0f93f8cf2e56 /input/input.c
parent37e1edee352afb6d1b212403a84827aa6072943a (diff)
downloadmpv-05ad815133fcb0ade9a1040069dedba1abf9d6f0.tar.bz2
mpv-05ad815133fcb0ade9a1040069dedba1abf9d6f0.tar.xz
Mark some constant symbols as such
Diffstat (limited to 'input/input.c')
-rw-r--r--input/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input/input.c b/input/input.c
index a49de3c229..ac1a9d2b30 100644
--- a/input/input.c
+++ b/input/input.c
@@ -578,7 +578,7 @@ static int mp_input_print_key_list(m_option_t* cfg);
static int mp_input_print_cmd_list(m_option_t* cfg);
// Our command line options
-static m_option_t input_conf[] = {
+static const m_option_t input_conf[] = {
{ "conf", &config_file, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL },
{ "ar-delay", &ar_delay, CONF_TYPE_INT, CONF_GLOBAL, 0, 0, NULL },
{ "ar-rate", &ar_rate, CONF_TYPE_INT, CONF_GLOBAL, 0, 0, NULL },
@@ -589,7 +589,7 @@ static m_option_t input_conf[] = {
{ NULL, NULL, 0, 0, 0, 0, NULL}
};
-static m_option_t mp_input_opts[] = {
+static const m_option_t mp_input_opts[] = {
{ "input", &input_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
{ "nojoystick", &use_joystick, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL },
{ "joystick", &use_joystick, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL },