song: convert header to C++

This commit is contained in:
Max Kellermann
2013-07-28 13:25:12 +02:00
parent 43f613d9be
commit ba161ec572
91 changed files with 643 additions and 691 deletions
+3 -3
View File
@@ -19,7 +19,7 @@
#include "config.h"
#include "SongSort.hxx"
#include "song.h"
#include "Song.hxx"
#include "util/list.h"
#include "tag.h"
@@ -94,8 +94,8 @@ compare_tag_item(const struct tag *a, const struct tag *b, enum tag_type type)
static int
song_cmp(G_GNUC_UNUSED void *priv, struct list_head *_a, struct list_head *_b)
{
const struct song *a = (const struct song *)_a;
const struct song *b = (const struct song *)_b;
const Song *a = (const Song *)_a;
const Song *b = (const Song *)_b;
int ret;
/* first sort by album */