summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Stankiewicz <piotrs@opensource.cirrus.com>2018-12-06 10:04:27 +0000
committerVinod Koul <vkoul@kernel.org>2018-12-07 10:39:46 +0530
commit274e8a9e3568692c9f976e76121c62ce412d17af (patch)
treedb147091eb63a1985a86f5b39947af6b5d54f024
parent043577b82356abf001c24b54a885650d06609afd (diff)
tinycompress: Fix missing '}' around extern C
Signed-off-by: Piotr Stankiewicz <piotrs@opensource.cirrus.com> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--include/tinycompress/tinycompress.h4
1 files changed, 4 insertions, 0 deletions
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