aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-09 15:24:05 +0200
committerMax Kellermann <max@duempel.org>2008-10-09 15:24:05 +0200
commit68f716a28bb92acb8d21785499b49cfc8b6091fb (patch)
tree76a389a188f76b89ac91379d1330e98c51db82a5 /src/directory.h
parenta0c044df11825069fc91dbc1ab9b6960886fd125 (diff)
downloadmpd-68f716a28bb92acb8d21785499b49cfc8b6091fb.tar.gz
mpd-68f716a28bb92acb8d21785499b49cfc8b6091fb.tar.xz
mpd-68f716a28bb92acb8d21785499b49cfc8b6091fb.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 '')
-rw-r--r--src/directory.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/directory.h b/src/directory.h
index 534e0be14..14bda5b58 100644
--- a/src/directory.h
+++ b/src/directory.h
@@ -19,6 +19,7 @@
#ifndef DIRECTORY_H
#define DIRECTORY_H
+#include "dirvec.h"
#include "songvec.h"
#include <stdbool.h>
@@ -33,11 +34,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;