comparison input/input.c @ 24242:76f5d8892c04

Clean up the way get_path is handled: Compile get_path.c to an object to link against instead of directly #including the C file and replace the many extern declarations by a proper header file.
author diego
date Tue, 28 Aug 2007 11:20:24 +0000
parents d15e78b799b5
children e446bad0872c
comparison
equal deleted inserted replaced
24241:e6c56a194610 24242:76f5d8892c04
23 #include "osdep/timer.h" 23 #include "osdep/timer.h"
24 #include "mp_msg.h" 24 #include "mp_msg.h"
25 #include "help_mp.h" 25 #include "help_mp.h"
26 #include "m_config.h" 26 #include "m_config.h"
27 #include "m_option.h" 27 #include "m_option.h"
28 #include "get_path.h"
28 29
29 #include "joystick.h" 30 #include "joystick.h"
30 31
31 #ifdef HAVE_LIRC 32 #ifdef HAVE_LIRC
32 #include "lirc.h" 33 #include "lirc.h"
1645 char* 1646 char*
1646 mp_input_get_section(void) { 1647 mp_input_get_section(void) {
1647 return section; 1648 return section;
1648 } 1649 }
1649 1650
1650 extern char *get_path(const char *filename);
1651
1652 void 1651 void
1653 mp_input_init(int use_gui) { 1652 mp_input_init(int use_gui) {
1654 char* file; 1653 char* file;
1655 1654
1656 #ifdef HAVE_NEW_GUI 1655 #ifdef HAVE_NEW_GUI