Mercurial > mplayer.hg
diff libaf/af_export.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 | ba2b70a80acc |
children | b2402b4f0afa |
line wrap: on
line diff
--- a/libaf/af_export.c Tue Aug 28 11:04:36 2007 +0000 +++ b/libaf/af_export.c Tue Aug 28 11:20:24 2007 +0000 @@ -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