aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Directory.cxx2
-rw-r--r--src/SongSort.cxx (renamed from src/song_sort.c)9
-rw-r--r--src/SongSort.hxx (renamed from src/song_sort.h)6
3 files changed, 10 insertions, 7 deletions
diff --git a/src/Directory.cxx b/src/Directory.cxx
index 2b1a34cbf..c96ac927d 100644
--- a/src/Directory.cxx
+++ b/src/Directory.cxx
@@ -22,10 +22,10 @@
#include "SongFilter.hxx"
#include "PlaylistVector.hxx"
#include "DatabaseLock.hxx"
+#include "SongSort.hxx"
extern "C" {
#include "song.h"
-#include "song_sort.h"
#include "util/list_sort.h"
}
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>
diff --git a/src/song_sort.h b/src/SongSort.hxx
index ec124cf4a..b3b67b0c0 100644
--- a/src/song_sort.h
+++ b/src/SongSort.hxx
@@ -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
@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef MPD_SONG_SORT_H
-#define MPD_SONG_SORT_H
+#ifndef MPD_SONG_SORT_HXX
+#define MPD_SONG_SORT_HXX
struct list_head;