aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabaseGlue.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-02 23:06:20 +0100
committerMax Kellermann <max@duempel.org>2013-01-03 01:10:47 +0100
commit3e8047e5831b4cc7dabae596746066698ad7c8cd (patch)
tree51cf8e3cc3b5b373f11ffbd6d7c0b34b3c0acb6c /src/DatabaseGlue.cxx
parent440ac51cf0250904813dfc9398ca8c9e6467328f (diff)
downloadmpd-3e8047e5831b4cc7dabae596746066698ad7c8cd.tar.gz
mpd-3e8047e5831b4cc7dabae596746066698ad7c8cd.tar.xz
mpd-3e8047e5831b4cc7dabae596746066698ad7c8cd.zip
Directory: rename struct directory to Directory
Diffstat (limited to 'src/DatabaseGlue.cxx')
-rw-r--r--src/DatabaseGlue.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DatabaseGlue.cxx b/src/DatabaseGlue.cxx
index 3325c5ecc..283ef9943 100644
--- a/src/DatabaseGlue.cxx
+++ b/src/DatabaseGlue.cxx
@@ -109,7 +109,7 @@ db_is_simple(void)
return is_simple;
}
-struct directory *
+Directory *
db_get_root(void)
{
assert(db != NULL);
@@ -118,13 +118,13 @@ db_get_root(void)
return ((SimpleDatabase *)db)->GetRoot();
}
-struct directory *
+Directory *
db_get_directory(const char *name)
{
if (db == NULL)
return NULL;
- struct directory *music_root = db_get_root();
+ Directory *music_root = db_get_root();
if (name == NULL)
return music_root;