clean up a little bit main() code

git-svn-id: https://svn.musicpd.org/mpd/trunk@771 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes
2004-04-15 03:26:15 +00:00
parent 794799eaf4
commit df3af7d4f1
6 changed files with 70 additions and 61 deletions

View File

@@ -23,10 +23,9 @@
#include <sys/param.h>
extern char musicDir[MAXPATHLEN+1];
extern char playlistDir[MAXPATHLEN+1];
extern char * musicDir;
void initPaths();
void initPaths(char * playlistDirArg, char * musicDirArg);
void finishPaths();
@@ -52,5 +51,7 @@ char * parentPath(char * path);
/* strips extra "///" and leading "/" and trailing "/" */
char * sanitizePathDup(char * path);
char * prependCwdToPathDup(char * path);
#endif
/* vim:set shiftwidth=4 tabstop=8 expandtab: */