aboutsummaryrefslogtreecommitdiffstats
path: root/test/RunInput.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-02 19:52:57 +0100
committerMax Kellermann <max@duempel.org>2013-01-02 20:22:59 +0100
commitb715e522cff7109c370e66d29ba22340c9259c52 (patch)
treeabda37d8d414592c59f8f875a3b1b439c5d81725 /test/RunInput.cxx
parent4b0b8315a918be5ad92d5aeb0c7df6d28966b951 (diff)
downloadmpd-b715e522cff7109c370e66d29ba22340c9259c52.tar.gz
mpd-b715e522cff7109c370e66d29ba22340c9259c52.tar.xz
mpd-b715e522cff7109c370e66d29ba22340c9259c52.zip
db_save, state_file: convert to C++
Diffstat (limited to '')
-rw-r--r--test/RunInput.cxx (renamed from test/run_input.c)9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/run_input.c b/test/RunInput.cxx
index acf25a283..52b53db5a 100644
--- a/test/run_input.c
+++ b/test/RunInput.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,17 +18,20 @@
*/
#include "config.h"
+#include "TagSave.hxx"
+#include "stdbin.h"
+
+extern "C" {
#include "io_thread.h"
#include "input_init.h"
#include "input_stream.h"
-#include "tag_save.h"
#include "tag.h"
#include "conf.h"
-#include "stdbin.h"
#ifdef ENABLE_ARCHIVE
#include "archive_list.h"
#endif
+}
#include <glib.h>