diff 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
line wrap: on
line diff
--- a/input/input.c	Tue Aug 28 11:04:36 2007 +0000
+++ b/input/input.c	Tue Aug 28 11:20:24 2007 +0000
@@ -25,6 +25,7 @@
 #include "help_mp.h"
 #include "m_config.h"
 #include "m_option.h"
+#include "get_path.h"
 
 #include "joystick.h"
 
@@ -1647,8 +1648,6 @@
   return section;
 }
 
-extern char *get_path(const char *filename);
-
 void
 mp_input_init(int use_gui) {
   char* file;