aboutsummaryrefslogtreecommitdiff
path: root/test
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 /test
parent440ac51cf0250904813dfc9398ca8c9e6467328f (diff)
Directory: rename struct directory to Directory
Diffstat (limited to 'test')
-rw-r--r--test/DumpDatabase.cxx4
-rw-r--r--test/TestQueuePriority.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx
index 3a4e980b..0678d707 100644
--- a/test/DumpDatabase.cxx
+++ b/test/DumpDatabase.cxx
@@ -48,7 +48,7 @@ my_log_func(const gchar *log_domain, G_GNUC_UNUSED GLogLevelFlags log_level,
}
static bool
-DumpDirectory(const directory &directory, GError **)
+DumpDirectory(const Directory &directory, GError **)
{
cout << "D " << directory.path << endl;
return true;
@@ -63,7 +63,7 @@ DumpSong(song &song, GError **)
static bool
DumpPlaylist(const PlaylistInfo &playlist,
- const directory &directory, GError **)
+ const Directory &directory, GError **)
{
cout << "P " << directory.path << "/" << playlist.name.c_str() << endl;
return true;
diff --git a/test/TestQueuePriority.cxx b/test/TestQueuePriority.cxx
index a046df52..860015ff 100644
--- a/test/TestQueuePriority.cxx
+++ b/test/TestQueuePriority.cxx
@@ -5,7 +5,7 @@ extern "C" {
#include "song.h"
#include "Directory.hxx"
-struct directory detached_root;
+Directory detached_root;
struct song *
song_dup_detached(const struct song *src)