Skip to contentSkip to conversation

tinycompress: compilation fix

PATCH New Chandrakanth Gorantla 1 participant 1 message May 21, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tinycompress: compilation fix

fix missing extern C closing statement.

---
 include/tinycompress/tinycompress.h | 4 ++++
 1 file changed, 4 insertions(+)
include/tinycompress/tinycompress.h +4 -0
index 03c396f..3d94da6 100644
@@ -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
Signature · 1 line
1.8.1.5