aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_internal.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-15 18:58:02 +0100
committerMax Kellermann <max@duempel.org>2013-01-15 20:20:51 +0100
commit5822daa63de641419dcecd19e81f1c4190bd1cce (patch)
tree3ffff03daf39eba93262d20a9c29696167c93a3b /src/output_internal.h
parent4808c7ef394ff130400a1a0be42f26efa8e953eb (diff)
downloadmpd-5822daa63de641419dcecd19e81f1c4190bd1cce.tar.gz
mpd-5822daa63de641419dcecd19e81f1c4190bd1cce.tar.xz
mpd-5822daa63de641419dcecd19e81f1c4190bd1cce.zip
output_internal, ...: add extern "C"
Diffstat (limited to 'src/output_internal.h')
-rw-r--r--src/output_internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/output_internal.h b/src/output_internal.h
index 1a3e8aa1f..692233f3c 100644
--- a/src/output_internal.h
+++ b/src/output_internal.h
@@ -257,6 +257,10 @@ audio_output_command_is_finished(const struct audio_output *ao)
return ao->command == AO_COMMAND_NONE;
}
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct audio_output *
audio_output_new(const struct config_param *param,
struct player_control *pc,
@@ -273,4 +277,8 @@ ao_base_finish(struct audio_output *ao);
void
audio_output_free(struct audio_output *ao);
+#ifdef __cplusplus
+}
+#endif
+
#endif