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

@@ -138,7 +138,7 @@ static CommandEntry *getCommandEntryFromString(char *string, int *permission);
static List *commandList;
CommandEntry *newCommandEntry(void)
static CommandEntry *newCommandEntry(void)
{
CommandEntry *cmd = malloc(sizeof(CommandEntry));
cmd->cmd = NULL;