changeset 31319:14bbe725b50e

Remove unused mp_input_init parameter.
author reimar
date Sun, 13 Jun 2010 17:10:52 +0000
parents 2211cc2fb0c3
children fd78d436d30f
files input/input.c input/input.h mplayer.c
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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);
--- 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);