diff options
author | Max Kellermann <max@duempel.org> | 2009-01-24 13:34:53 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-24 13:34:53 +0100 |
commit | 6cfe032b94d0f5089d392d1c71235c1efaed2e74 (patch) | |
tree | 1fa2d4611d94ac424cfebb97d82ac57bda3c6e84 | |
parent | ae2d13ac3e480a03d20a7158ee7492059f27ed52 (diff) | |
download | mpd-6cfe032b94d0f5089d392d1c71235c1efaed2e74.tar.gz mpd-6cfe032b94d0f5089d392d1c71235c1efaed2e74.tar.xz mpd-6cfe032b94d0f5089d392d1c71235c1efaed2e74.zip |
playlist: renamed the Playlist typedef to "struct playlist"
No typedefs.
Diffstat (limited to '')
-rw-r--r-- | src/playlist.c | 2 | ||||
-rw-r--r-- | src/playlist.h | 4 |
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; |