diff options
Diffstat (limited to '')
-rw-r--r-- | src/directory.c | 10 |
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); |