aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_sort.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-04-17 22:25:57 +0200
committerMax Kellermann <max@duempel.org>2013-04-17 22:25:57 +0200
commit31bc94160a4dc7b8749cca8c3f7b703548fcb4f4 (patch)
tree68851b5c81cc064ef061ff400e3cc61cc9352f0e /src/song_sort.c
parent9e5d2c5bb7093dd10337a5b77f6271e06baa0ebe (diff)
downloadmpd-31bc94160a4dc7b8749cca8c3f7b703548fcb4f4.tar.gz
mpd-31bc94160a4dc7b8749cca8c3f7b703548fcb4f4.tar.xz
mpd-31bc94160a4dc7b8749cca8c3f7b703548fcb4f4.zip
song_sort: convert to C++
Diffstat (limited to '')
-rw-r--r--src/SongSort.cxx (renamed from src/song_sort.c)9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/song_sort.c b/src/SongSort.cxx
index 397d2c7a9..8728614e0 100644
--- a/src/song_sort.c
+++ b/src/SongSort.cxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2012 The Music Player Daemon Project
+ * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -18,12 +18,15 @@
*/
#include "config.h"
-#include "song_sort.h"
+#include "SongSort.hxx"
#include "song.h"
#include "util/list.h"
-#include "util/list_sort.h"
#include "tag.h"
+extern "C" {
+#include "util/list_sort.h"
+}
+
#include <glib.h>
#include <assert.h>