playlist: renamed the Playlist typedef to "struct playlist"

No typedefs.
This commit is contained in:
Max Kellermann
2009-01-24 13:34:53 +01:00
parent ae2d13ac3e
commit 6cfe032b94
2 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -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 {
* 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;