aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-24 13:34:53 +0100
committerMax Kellermann <max@duempel.org>2009-01-24 13:34:53 +0100
commit6cfe032b94d0f5089d392d1c71235c1efaed2e74 (patch)
tree1fa2d4611d94ac424cfebb97d82ac57bda3c6e84
parentae2d13ac3e480a03d20a7158ee7492059f27ed52 (diff)
downloadmpd-6cfe032b94d0f5089d392d1c71235c1efaed2e74.tar.gz
mpd-6cfe032b94d0f5089d392d1c71235c1efaed2e74.tar.xz
mpd-6cfe032b94d0f5089d392d1c71235c1efaed2e74.zip
playlist: renamed the Playlist typedef to "struct playlist"
No typedefs.
-rw-r--r--src/playlist.c2
-rw-r--r--src/playlist.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 1376c8098..238502fee 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -73,7 +73,7 @@
static GRand *g_rand;
/** the global playlist object */
-static Playlist playlist;
+static struct playlist playlist;
unsigned playlist_max_length;
bool playlist_saveAbsolutePaths = DEFAULT_PLAYLIST_SAVE_ABSOLUTE_PATHS;
diff --git a/src/playlist.h b/src/playlist.h
index 7a6a3a8d7..ab6e0979b 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -43,7 +43,7 @@ enum playlist_result {
PLAYLIST_RESULT_DISABLED,
};
-typedef struct _Playlist {
+struct playlist {
/**
* The song queue - it contains the "real" playlist.
*/
@@ -84,7 +84,7 @@ typedef struct _Playlist {
* This variable is only valid if #playing is true.
*/
int queued;
-} Playlist;
+};
extern bool playlist_saveAbsolutePaths;