diff options
Diffstat (limited to '')
-rw-r--r-- | src/UpdateSong.cxx (renamed from src/update_song.c) | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/update_song.c b/src/UpdateSong.cxx index 1126ad115..8241d46f2 100644 --- a/src/update_song.c +++ b/src/UpdateSong.cxx @@ -18,17 +18,20 @@ */ #include "config.h" /* must be first for large file support */ -#include "update_song.h" -#include "update_internal.h" -#include "update_io.h" -#include "update_db.h" -#include "update_container.h" +#include "UpdateSong.hxx" +#include "UpdateInternal.hxx" +#include "UpdateIO.hxx" +#include "UpdateDatabase.hxx" +#include "UpdateContainer.hxx" #include "db_lock.h" #include "directory.h" #include "song.h" -#include "decoder_list.h" #include "decoder_plugin.h" +extern "C" { +#include "decoder_list.h" +} + #include <glib.h> #include <unistd.h> @@ -104,7 +107,7 @@ update_song_file(struct directory *directory, const struct stat *st) { const struct decoder_plugin *plugin = - decoder_plugin_from_suffix(suffix, false); + decoder_plugin_from_suffix(suffix, nullptr); if (plugin == NULL) return false; |