summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao2015-07-11 14:48:42 -0500
committerTao Bao2015-07-11 14:48:42 -0500
commita29c0127fa1285a495145837641daa0b7d75829b (patch)
tree5bf9b0e568ca895d56d8e01074905a514a44fd2a /libsparse
parenta3ee46f1056fd52b05b627319cf82da75c6c7e59 (diff)
downloadplatform-system-core-a29c0127fa1285a495145837641daa0b7d75829b.tar.gz
platform-system-core-a29c0127fa1285a495145837641daa0b7d75829b.tar.xz
platform-system-core-a29c0127fa1285a495145837641daa0b7d75829b.zip
libsparse: Wrap sparse_crc32.h to be C++ compatible.
Change-Id: Ic6b1721859937984619a262c459f1f734d81c149
Diffstat (limited to 'libsparse')
-rw-r--r--libsparse/sparse_crc32.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libsparse/sparse_crc32.h b/libsparse/sparse_crc32.h
index cad8a8630..50cd9e989 100644
--- a/libsparse/sparse_crc32.h
+++ b/libsparse/sparse_crc32.h
@@ -14,7 +14,19 @@
14 * limitations under the License. 14 * limitations under the License.
15 */ 15 */
16 16
17#ifndef _LIBSPARSE_SPARSE_CRC32_H_
18#define _LIBSPARSE_SPARSE_CRC32_H_
19
17#include <stdint.h> 20#include <stdint.h>
18 21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
19uint32_t sparse_crc32(uint32_t crc, const void *buf, size_t size); 26uint32_t sparse_crc32(uint32_t crc, const void *buf, size_t size);
20 27
28#ifdef __cplusplus
29}
30#endif
31
32#endif