aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.c
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-08-20 00:50:44 +0000
committerAvuton Olrich <avuton@gmail.com>2006-08-20 00:50:44 +0000
commitf79a70d1b9bab78fca515ac9142607ce2414e333 (patch)
tree9b851a6298a000e1feee859f430c9ccc5c297ddd /src/directory.c
parent9caade4eb11bc930f618650918db8b60b912c961 (diff)
downloadmpd-f79a70d1b9bab78fca515ac9142607ce2414e333.tar.gz
mpd-f79a70d1b9bab78fca515ac9142607ce2414e333.tar.xz
mpd-f79a70d1b9bab78fca515ac9142607ce2414e333.zip
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
Diffstat (limited to '')
-rw-r--r--src/directory.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/directory.c b/src/directory.c
index 51702d4b0..0457f8bbc 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -249,6 +249,11 @@ static void freeDirectoryStatFromDirectory(Directory * dir)
dir->stat = NULL;
}
+static DirectoryList *newDirectoryList(void)
+{
+ return makeList((ListFreeDataFunc *) freeDirectory, 1);
+}
+
static Directory *newDirectory(char *dirname, Directory * parent)
{
Directory *directory;
@@ -279,11 +284,6 @@ static void freeDirectory(Directory * directory)
/*getDirectoryPath(NULL); */
}
-static DirectoryList *newDirectoryList(void)
-{
- return makeList((ListFreeDataFunc *) freeDirectory, 1);
-}
-
static void freeDirectoryList(DirectoryList * directoryList)
{
freeList(directoryList);