From 6cfe032b94d0f5089d392d1c71235c1efaed2e74 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 24 Jan 2009 13:34:53 +0100 Subject: playlist: renamed the Playlist typedef to "struct playlist" No typedefs. --- src/playlist.c | 2 +- src/playlist.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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; -- cgit v1.2.3