[alsa-devel] [PATCH] tinycompress: compilation fix

Chandrakanth Gorantla cgorantla at nvidia.com
Wed May 21 15:42:16 CEST 2014


fix missing extern C closing statement.
---
 include/tinycompress/tinycompress.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/tinycompress/tinycompress.h b/include/tinycompress/tinycompress.h
index 03c396f..3d94da6 100644
--- a/include/tinycompress/tinycompress.h
+++ b/include/tinycompress/tinycompress.h
@@ -270,4 +270,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
-- 
1.8.1.5



More information about the Alsa-devel mailing list