# HG changeset patch # User diego # Date 1266151198 0 # Node ID c5d1693acb3587dc01b0ca49366a60c0bce9491d # Parent 6ef41a766a74303602bd8e533b1a2985b8a680e5 Declare mp_input_register_options() in input/input.h. This also avoids a forward declaration in mplayer.c. diff -r 6ef41a766a74 -r c5d1693acb35 input/input.h --- a/input/input.h Sun Feb 14 12:31:24 2010 +0000 +++ b/input/input.h Sun Feb 14 12:39:58 2010 +0000 @@ -19,6 +19,8 @@ #ifndef MPLAYER_INPUT_H #define MPLAYER_INPUT_H +#include "m_config.h" + // All command IDs typedef enum { MP_CMD_SEEK, @@ -318,6 +320,8 @@ void mp_input_uninit(void); +void mp_input_register_options(m_config_t* cfg); + // Interruptible usleep: (used by libmpdemux) int mp_input_check_interrupt(int time); diff -r 6ef41a766a74 -r c5d1693acb35 mplayer.c --- a/mplayer.c Sun Feb 14 12:31:24 2010 +0000 +++ b/mplayer.c Sun Feb 14 12:39:58 2010 +0000 @@ -847,8 +847,6 @@ exit(1); } -void mp_input_register_options(m_config_t* cfg); - #include "cfg-mplayer.h" static void parse_cfgfiles( m_config_t* conf )