diff mbox

tinycompress: compilation fix

Message ID 1400679736-619-1-git-send-email-cgorantla@nvidia.com (mailing list archive)
State New, archived
Headers show

Commit Message

Chandrakanth Gorantla May 21, 2014, 1:42 p.m. UTC
fix missing extern C closing statement.
---
 include/tinycompress/tinycompress.h | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

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