From dcabceb6268d64a16c370504de265d0dcc657301 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 5 Mar 2015 10:57:38 +0100 Subject: player: minor simplification argv is always terminated with a NULL, so we don't need to drag argc along. Simplifies the following commit a little bit. --- options/parse_commandline.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'options/parse_commandline.h') diff --git a/options/parse_commandline.h b/options/parse_commandline.h index 39512ca51a..fde1329995 100644 --- a/options/parse_commandline.h +++ b/options/parse_commandline.h @@ -26,9 +26,8 @@ struct m_config; struct mpv_global; int m_config_parse_mp_command_line(m_config_t *config, struct playlist *files, - struct mpv_global *global, - int argc, char **argv); + struct mpv_global *global, char **argv); void m_config_preparse_command_line(m_config_t *config, struct mpv_global *global, - int argc, char **argv); + char **argv); #endif /* MPLAYER_PARSER_MPCMD_H */ -- cgit v1.2.3