mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24262 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -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 @@ mp_input_get_section(void) {
|
||||
return section;
|
||||
}
|
||||
|
||||
extern char *get_path(const char *filename);
|
||||
|
||||
void
|
||||
mp_input_init(int use_gui) {
|
||||
char* file;
|
||||
|
||||
Reference in New Issue
Block a user