aboutsummaryrefslogtreecommitdiffstats
path: root/src/timer.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/timer.h
parent4808c7ef394ff130400a1a0be42f26efa8e953eb (diff)
downloadmpd-5822daa63de641419dcecd19e81f1c4190bd1cce.tar.gz
mpd-5822daa63de641419dcecd19e81f1c4190bd1cce.tar.xz
mpd-5822daa63de641419dcecd19e81f1c4190bd1cce.zip
output_internal, ...: add extern "C"
Diffstat (limited to '')
-rw-r--r--src/timer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/timer.h b/src/timer.h
index 184881249..1506c9173 100644
--- a/src/timer.h
+++ b/src/timer.h
@@ -30,6 +30,10 @@ struct timer {
int rate;
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct timer *timer_new(const struct audio_format *af);
void timer_free(struct timer *timer);
@@ -48,4 +52,8 @@ timer_delay(const struct timer *timer);
void timer_sync(struct timer *timer);
+#ifdef __cplusplus
+}
+#endif
+
#endif