aboutsummaryrefslogtreecommitdiffstats
path: root/src/dirvec.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/dirvec.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/dirvec.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dirvec.h b/src/dirvec.h
index 31719fcc8..07566116c 100644
--- a/src/dirvec.h
+++ b/src/dirvec.h
@@ -1,7 +1,12 @@
#ifndef DIRVEC_H
#define DIRVEC_H
-struct dirvec;
+#include <stddef.h>
+
+struct dirvec {
+ struct directory **base;
+ size_t nr;
+};
void dirvec_sort(struct dirvec *dv);