diff options
Diffstat (limited to '')
-rw-r--r-- | test/read_conf.cxx (renamed from test/read_conf.c) | 2 | ||||
-rw-r--r-- | test/run_filter.cxx (renamed from test/run_filter.c) | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/test/read_conf.c b/test/read_conf.cxx index 4f6005c6f..859c8949d 100644 --- a/test/read_conf.c +++ b/test/read_conf.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 diff --git a/test/run_filter.c b/test/run_filter.cxx index 7a4bd9d80..990a57df0 100644 --- a/test/run_filter.c +++ b/test/run_filter.cxx @@ -19,7 +19,11 @@ #include "config.h" #include "conf.h" + +extern "C" { #include "audio_parser.h" +} + #include "audio_format.h" #include "filter_plugin.h" #include "pcm_volume.h" @@ -75,7 +79,7 @@ load_filter(const char *name) param = find_named_config_block("filter", name); if (param == NULL) { g_printerr("No such configured filter: %s\n", name); - return false; + return nullptr; } filter = filter_configured_new(param, &error); |