[alsa-devel] [PATCH] tinycompress: Fix missing '}' around extern C

Charles Keepax ckeepax at opensource.cirrus.com
Thu Dec 6 11:04:27 CET 2018


From: Piotr Stankiewicz <piotrs at opensource.cirrus.com>

Signed-off-by: Piotr Stankiewicz <piotrs at opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax at opensource.cirrus.com>
---
 include/tinycompress/tinycompress.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/tinycompress/tinycompress.h b/include/tinycompress/tinycompress.h
index 780dce6..f0fae30 100644
--- a/include/tinycompress/tinycompress.h
+++ b/include/tinycompress/tinycompress.h
@@ -276,4 +276,8 @@ int is_compress_ready(struct compress *compress);
 /* Returns a human readable reason for the last error */
 const char *compress_get_error(struct compress *compress);
 
+#if defined(__cplusplus)
+} // extern "C"
+#endif
+
 #endif
-- 
2.11.0



More information about the Alsa-devel mailing list