diff options
Diffstat (limited to '')
-rw-r--r-- | test/read_tags.cxx (renamed from test/read_tags.c) | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/read_tags.c b/test/read_tags.cxx index 43335ec2f..9fabddc6b 100644 --- a/test/read_tags.c +++ b/test/read_tags.cxx @@ -18,14 +18,18 @@ */ #include "config.h" +extern "C" { #include "io_thread.h" #include "decoder_list.h" +} #include "decoder_api.h" -#include "input_init.h" +#include "InputInit.hxx" #include "input_stream.h" #include "audio_format.h" +extern "C" { #include "tag_ape.h" #include "tag_id3.h" +} #include "tag_handler.h" #include <glib.h> @@ -133,9 +137,9 @@ print_pair(const char *name, const char *value, G_GNUC_UNUSED void *ctx) } static const struct tag_handler print_handler = { - .duration = print_duration, - .tag = print_tag, - .pair = print_pair, + print_duration, + print_tag, + print_pair, }; int main(int argc, char **argv) |