aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;