From 2391dbc88e15dd54207f289bb4fdbaf0e801b1ca Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 21 Mar 2022 19:24:00 +0100 Subject: [PATCH] playlist.c: Rename playlist_info -> playlist_instance. The new name is more descriptive and matches the its mood counterpart, mood_instance. --- playlist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/playlist.c b/playlist.c index 8f5c3d7d..5150d380 100644 --- a/playlist.c +++ b/playlist.c @@ -15,13 +15,13 @@ /** \file playlist.c Functions for loading and saving playlists. */ /** Structure used for adding entries to a playlist. */ -struct playlist_info { +struct playlist_instance { /** The name of the playlist. */ char *name; /** The number of entries currently in the playlist. */ unsigned length; }; -static struct playlist_info current_playlist; +static struct playlist_instance current_playlist; /** * Re-insert an audio file into the tree of admissible files. @@ -38,7 +38,7 @@ static int playlist_update_audio_file(const struct osl_row *aft_row) static int add_playlist_entry(char *path, void *data) { - struct playlist_info *playlist = data; + struct playlist_instance *playlist = data; struct osl_row *aft_row; int ret = aft_get_row_of_path(path, &aft_row); @@ -134,7 +134,7 @@ void playlist_close(void) int playlist_open(const char *name, char **msg) { int ret; - struct playlist_info *playlist = ¤t_playlist; + struct playlist_instance *playlist = ¤t_playlist; struct osl_object playlist_def; ret = pl_get_def_by_name(name, &playlist_def); -- 2.39.2