aboutsummaryrefslogtreecommitdiffhomepage
path: root/libaf
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-28 11:20:24 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-28 11:20:24 +0000
commit84157efa5ac4ee391e8615db69b07027428e331d (patch)
tree08118149c7d5e3cf022159765da3f0848da52164 /libaf
parent2e2c64dd3adb225800b5bc42cff75cfca67071be (diff)
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
Diffstat (limited to 'libaf')
-rw-r--r--libaf/af_export.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libaf/af_export.c b/libaf/af_export.c
index 08f0f5dbe2..ff8871fdee 100644
--- a/libaf/af_export.c
+++ b/libaf/af_export.c
@@ -21,9 +21,7 @@
#include <fcntl.h>
#include "af.h"
-
-extern char * get_path( const char * filename );
-
+#include "get_path.h"
#define DEF_SZ 512 // default buffer size (in samples)
#define SHARED_FILE "mplayer-af_export" /* default file name