aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ReplayGainConfig.cxx (renamed from src/replay_gain_config.c)6
-rw-r--r--src/ReplayGainInfo.cxx (renamed from src/replay_gain_info.c)5
2 files changed, 9 insertions, 2 deletions
diff --git a/src/replay_gain_config.c b/src/ReplayGainConfig.cxx
index deaf2b5f8..4d3e2f29d 100644
--- a/src/replay_gain_config.c
+++ b/src/ReplayGainConfig.cxx
@@ -18,10 +18,14 @@
*/
#include "config.h"
+
+extern "C" {
#include "replay_gain_config.h"
-#include "Playlist.hxx"
#include "conf.h"
#include "idle.h"
+}
+
+#include "Playlist.hxx"
#include "mpd_error.h"
#include <glib.h>
diff --git a/src/replay_gain_info.c b/src/ReplayGainInfo.cxx
index 1f09e7a1a..5e5e4ab4b 100644
--- a/src/replay_gain_info.c
+++ b/src/ReplayGainInfo.cxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 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,7 +18,10 @@
*/
#include "config.h"
+
+extern "C" {
#include "replay_gain_info.h"
+}
float
replay_gain_tuple_scale(const struct replay_gain_tuple *tuple, float preamp, float missing_preamp, bool peak_limit)