summaryrefslogtreecommitdiff
path: root/include/output.h
diff options
context:
space:
mode:
authorAbramo Bagnara <abramo@alsa-project.org>2001-01-29 08:29:52 +0000
committerAbramo Bagnara <abramo@alsa-project.org>2001-01-29 08:29:52 +0000
commitd44c657826db6ab36af488f767ea4a6ee809316b (patch)
tree1726256d246e9cfc548bcbff8f6ddd0198e59adc /include/output.h
parentc07201926b38854e50ae7ba3bf80f193d3035639 (diff)
downloadalsa-lib-d44c657826db6ab36af488f767ea4a6ee809316b.tar.gz
Added stuff for C++ compilation
Diffstat (limited to 'include/output.h')
-rw-r--r--include/output.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/output.h b/include/output.h
index dd50f9db..c2dbf742 100644
--- a/include/output.h
+++ b/include/output.h
@@ -1,4 +1,8 @@
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct _snd_output snd_output_t;
typedef enum _snd_output_type {
@@ -15,3 +19,7 @@ int snd_output_printf(snd_output_t *output, const char *format, ...) __attribute
int snd_output_puts(snd_output_t *output, const char *str);
int snd_output_putc(snd_output_t *output, int c);
int snd_output_flush(snd_output_t *output);
+
+#ifdef __cplusplus
+}
+#endif