Fix warnings for -Wmissing-prototypes

Add -Wmissing-prototypes if compiling with gcc
Static where possible

git-svn-id: https://svn.musicpd.org/mpd/trunk@4657 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Avuton Olrich
2006-08-20 00:50:44 +00:00
parent 9caade4eb1
commit f79a70d1b9
40 changed files with 155 additions and 153 deletions

View File

@@ -25,9 +25,9 @@
extern const char *musicDir;
void initPaths();
void initPaths(void);
void finishPaths();
void finishPaths(void);
/* utf8ToFsCharset() and fsCharsetToUtf8()
* Each returns a static pointer to a dynamically allocated buffer
@@ -44,7 +44,7 @@ char *fsCharsetToUtf8(char *str);
void setFsCharset(char *charset);
char *getFsCharset();
char *getFsCharset(void);
/* relative music path to absolute music path
* char * passed is a static variable, so don't free it