summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Cross2014-04-18 15:54:12 -0500
committerColin Cross2014-04-18 16:22:22 -0500
commit099824cce31853a0680723e70151d866416a5c78 (patch)
tree830552718fca3c066857baf653df1d5b328a2962 /libsparse
parent9101878dd06a74cedeadca3fec3b3db68cba8bf0 (diff)
downloadplatform-system-core-099824cce31853a0680723e70151d866416a5c78.tar.gz
platform-system-core-099824cce31853a0680723e70151d866416a5c78.tar.xz
platform-system-core-099824cce31853a0680723e70151d866416a5c78.zip
libsparse: allow including from C++
Change-Id: I3788fd07e2b52430a410f85fb79dc886c6a07fea
Diffstat (limited to 'libsparse')
-rw-r--r--libsparse/include/sparse/sparse.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libsparse/include/sparse/sparse.h b/libsparse/include/sparse/sparse.h
index 17d085ca4..8b757d22a 100644
--- a/libsparse/include/sparse/sparse.h
+++ b/libsparse/include/sparse/sparse.h
@@ -20,6 +20,10 @@
20#include <stdbool.h> 20#include <stdbool.h>
21#include <stdint.h> 21#include <stdint.h>
22 22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
23struct sparse_file; 27struct sparse_file;
24 28
25/** 29/**
@@ -273,4 +277,8 @@ void sparse_file_verbose(struct sparse_file *s);
273 */ 277 */
274extern void (*sparse_print_verbose)(const char *fmt, ...); 278extern void (*sparse_print_verbose)(const char *fmt, ...);
275 279
280#ifdef __cplusplus
281}
282#endif
283
276#endif 284#endif