Directory: rename struct directory to Directory

This commit is contained in:
Max Kellermann
2013-01-02 23:06:20 +01:00
parent 440ac51cf0
commit 3e8047e583
36 changed files with 180 additions and 184 deletions

View File

@@ -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;