# HG changeset patch # User reimar # Date 1276449052 0 # Node ID 14bbe725b50e8931c004c57ed190accd03cd1c6b # Parent 2211cc2fb0c376d7ca1d910139736089ff1a8ab4 Remove unused mp_input_init parameter. diff -r 2211cc2fb0c3 -r 14bbe725b50e input/input.c --- a/input/input.c Sun Jun 13 13:40:18 2010 +0000 +++ b/input/input.c Sun Jun 13 17:10:52 2010 +0000 @@ -1710,7 +1710,7 @@ } void -mp_input_init(int use_gui) { +mp_input_init(void) { char* file; file = config_file[0] != '/' ? get_path(config_file) : config_file; diff -r 2211cc2fb0c3 -r 14bbe725b50e input/input.h --- a/input/input.h Sun Jun 13 13:40:18 2010 +0000 +++ b/input/input.h Sun Jun 13 17:10:52 2010 +0000 @@ -311,7 +311,7 @@ // When you create a new driver you should add it in these 2 functions. void -mp_input_init(int use_gui); +mp_input_init(void); void mp_input_uninit(void); diff -r 2211cc2fb0c3 -r 14bbe725b50e mplayer.c --- a/mplayer.c Sun Jun 13 13:40:18 2010 +0000 +++ b/mplayer.c Sun Jun 13 17:10:52 2010 +0000 @@ -2982,7 +2982,7 @@ // Init input system current_module = "init_input"; -mp_input_init(use_gui); +mp_input_init(); mp_input_add_key_fd(-1,0,mplayer_get_key,NULL); if(slave_mode) mp_input_add_cmd_fd(0,USE_SELECT,MP_INPUT_SLAVE_CMD_FUNC,NULL);