aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderInternal.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-04 08:41:16 +0100
committerMax Kellermann <max@duempel.org>2013-01-04 09:41:45 +0100
commite12cc01aa4b25798a2887ac6c5e01309e744ea8b (patch)
treecbf58024a0fb6d470a87c420ddcdf0ac2f0f15d6 /src/DecoderInternal.cxx
parent71c697288b2325011f7302437aac912e88d6b6b4 (diff)
downloadmpd-e12cc01aa4b25798a2887ac6c5e01309e744ea8b.tar.gz
mpd-e12cc01aa4b25798a2887ac6c5e01309e744ea8b.tar.xz
mpd-e12cc01aa4b25798a2887ac6c5e01309e744ea8b.zip
decoder_*: convert to C++
Diffstat (limited to '')
-rw-r--r--src/DecoderInternal.cxx (renamed from src/decoder_internal.c)12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/decoder_internal.c b/src/DecoderInternal.cxx
index bc349f2ff..ab496dbd3 100644
--- a/src/decoder_internal.c
+++ b/src/DecoderInternal.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,11 +18,15 @@
*/
#include "config.h"
-#include "decoder_internal.h"
-#include "decoder_control.h"
+#include "DecoderInternal.hxx"
+#include "DecoderControl.hxx"
+
+extern "C" {
#include "pipe.h"
-#include "input_stream.h"
#include "buffer.h"
+}
+
+#include "input_stream.h"
#include "chunk.h"
#include <assert.h>