mapper: moved musicDir initialization from path.c

Moved the musicDir variable and its initialization code from path.c to
mapper.c.
This commit is contained in:
Max Kellermann
2008-10-15 19:36:33 +02:00
parent 76779f0fbe
commit 7366191f0d
5 changed files with 52 additions and 31 deletions

View File

@@ -31,8 +31,6 @@
# endif
#endif
extern const char *musicDir;
void initPaths(void);
void finishPaths(void);
@@ -57,9 +55,6 @@ char *pfx_dir(char *dst,
const char *path, const size_t path_len,
const char *pfx, const size_t pfx_len);
/* relative music path to absolute music path */
char *rmp2amp_r(char *dst, const char *rel_path);
/* relative playlist path to absolute playlist path */
char *rpp2app_r(char *dst, const char *rel_path);