diff options
author | Haynes Mathew George <hgeorge@codeaurora.org> | 2014-09-25 10:24:40 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2014-09-28 11:30:44 -0700 |
commit | 25a4b4b5c7451702a164c98ef502e41cc03e1e1f (patch) | |
tree | cae2f0e3bb5605c33ad17e56ef36d1250c496c3a | |
parent | a425bf67a66bbe96c99ca42bcda7392d7f1e1dcd (diff) | |
download | tinycompress-lollipop-dev.tar.gz |
Audio: tinycompress: Add absent } to the end of fileandroid-wear-5.0.0_r1android-cts-5.0_r9android-cts-5.0_r8android-cts-5.0_r7android-cts-5.0_r6android-cts-5.0_r5android-cts-5.0_r4android-cts-5.0_r3android-5.0.2_r3android-5.0.2_r1android-5.0.1_r1android-5.0.0_r7android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5android-5.0.0_r4android-5.0.0_r3android-5.0.0_r2android-5.0.0_r1lollipop-wear-releaselollipop-releaselollipop-devlollipop-cts-release
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.h | 6 |
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 |