summaryrefslogtreecommitdiffstats
path: root/input/input.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-10 22:58:28 +0200
committerwm4 <wm4@nowhere>2014-10-10 22:58:28 +0200
commitc9f45ea93e470159b1bd4c4ddbd5c2c05149d76e (patch)
tree7bc1da5d3c1cb792f6e3955d732110492e245a7c /input/input.h
parent63903c27bd9947b94ef83dc350568b5797af5281 (diff)
downloadmpv-c9f45ea93e470159b1bd4c4ddbd5c2c05149d76e.tar.bz2
mpv-c9f45ea93e470159b1bd4c4ddbd5c2c05149d76e.tar.xz
input: use mpv_node parser for char** command parsers
Minor simplification, also drops some useless stuff.
Diffstat (limited to 'input/input.h')
-rw-r--r--input/input.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/input/input.h b/input/input.h
index 02257d9c85..40c9369271 100644
--- a/input/input.h
+++ b/input/input.h
@@ -247,8 +247,7 @@ void mp_input_set_cancel(struct input_ctx *ictx, struct mp_cancel *cancel);
bool mp_input_use_alt_gr(struct input_ctx *ictx);
// Like mp_input_parse_cmd_strv, but also run the command.
-void mp_input_run_cmd(struct input_ctx *ictx, int def_flags, const char **cmd,
- const char *location);
+void mp_input_run_cmd(struct input_ctx *ictx, const char **cmd);
void mp_input_pipe_add(struct input_ctx *ictx, const char *filename);
void mp_input_joystick_add(struct input_ctx *ictx, char *dev);