aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaynes Mathew George <hgeorge@codeaurora.org>2014-09-25 10:24:40 -0700
committerGlenn Kasten <gkasten@google.com>2014-09-28 11:30:44 -0700
commit25a4b4b5c7451702a164c98ef502e41cc03e1e1f (patch)
treecae2f0e3bb5605c33ad17e56ef36d1250c496c3a
parenta425bf67a66bbe96c99ca42bcda7392d7f1e1dcd (diff)
downloadtinycompress-lollipop-dev.tar.gz
The absent "}" cause to compilation error when it included from C to C++ cherry-pick from CAF commit: 884875a11e04b4e8a5f46cb6058d741205a29305 Bug: 17682634 Change-Id: Id2ff05475722b698f3283ec4aaf13cfd28e7fcf5
-rw-r--r--include/tinycompress/tinycompress.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/tinycompress/tinycompress.h b/include/tinycompress/tinycompress.h
index 40de69a..9f95b87 100644
--- a/include/tinycompress/tinycompress.h
+++ b/include/tinycompress/tinycompress.h
@@ -290,4 +290,10 @@ const char *compress_get_error(struct compress *compress);
/* utility functions */
unsigned int compress_get_alsa_rate(unsigned int rate);
+
+
+#if defined(__cplusplus)
+}
+#endif
+
#endif