aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-09 15:24:05 +0200
committerEric Wong <normalperson@yhbt.net>2008-10-11 19:21:49 -0700
commit7f79b3c6fc21d687f116b3e2a2b7bad309a191c0 (patch)
tree0eb13c38c3265d3c6f4d38687db25dc5b89cbc1d /src/directory.h
parenta24d3738e35d509aa180fffa127abac8057101cf (diff)
downloadmpd-7f79b3c6fc21d687f116b3e2a2b7bad309a191c0.tar.gz
mpd-7f79b3c6fc21d687f116b3e2a2b7bad309a191c0.tar.xz
mpd-7f79b3c6fc21d687f116b3e2a2b7bad309a191c0.zip
directory: moved dirvec struct declaration to dirvec.h
No idea why it was created in directory.h, but it should be in dirvec.h.
Diffstat (limited to 'src/directory.h')
-rw-r--r--src/directory.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/directory.h b/src/directory.h
index 17c218bfb..c767366a7 100644
--- a/src/directory.h
+++ b/src/directory.h
@@ -20,6 +20,7 @@
#define DIRECTORY_H
#include "song.h"
+#include "dirvec.h"
#include "songvec.h"
#define DIRECTORY_DIR "directory: "
@@ -31,11 +32,6 @@
#define DIRECTORY_MPD_VERSION "mpd_version: "
#define DIRECTORY_FS_CHARSET "fs_charset: "
-struct dirvec {
- struct directory **base;
- size_t nr;
-};
-
struct directory {
char *path;
struct dirvec children;