Commit 6cfe032b authored by Max Kellermann's avatar Max Kellermann

playlist: renamed the Playlist typedef to "struct playlist"

No typedefs.
parent ae2d13ac
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
static GRand *g_rand; static GRand *g_rand;
/** the global playlist object */ /** the global playlist object */
static Playlist playlist; static struct playlist playlist;
unsigned playlist_max_length; unsigned playlist_max_length;
bool playlist_saveAbsolutePaths = DEFAULT_PLAYLIST_SAVE_ABSOLUTE_PATHS; bool playlist_saveAbsolutePaths = DEFAULT_PLAYLIST_SAVE_ABSOLUTE_PATHS;
......
...@@ -43,7 +43,7 @@ enum playlist_result { ...@@ -43,7 +43,7 @@ enum playlist_result {
PLAYLIST_RESULT_DISABLED, PLAYLIST_RESULT_DISABLED,
}; };
typedef struct _Playlist { struct playlist {
/** /**
* The song queue - it contains the "real" playlist. * The song queue - it contains the "real" playlist.
*/ */
...@@ -84,7 +84,7 @@ typedef struct _Playlist { ...@@ -84,7 +84,7 @@ typedef struct _Playlist {
* This variable is only valid if #playing is true. * This variable is only valid if #playing is true.
*/ */
int queued; int queued;
} Playlist; };
extern bool playlist_saveAbsolutePaths; extern bool playlist_saveAbsolutePaths;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment