diff options
author | Colin Cross | 2014-04-18 16:31:37 -0500 |
---|---|---|
committer | Android Git Automerger | 2014-04-18 16:31:37 -0500 |
commit | 37d39eba0b3da124be747dd6a014332817135264 (patch) | |
tree | 7368a36ccef64820d7db6970bc4744260e6051a8 /libsparse | |
parent | 46e6b4f7fd5f6488d0ba06a26d67888136b3ee3e (diff) | |
parent | 0cb82da25475d30f8cddbf60764400f3040809ae (diff) | |
download | platform-system-core-37d39eba0b3da124be747dd6a014332817135264.tar.gz platform-system-core-37d39eba0b3da124be747dd6a014332817135264.tar.xz platform-system-core-37d39eba0b3da124be747dd6a014332817135264.zip |
am 0cb82da2: am 958235bd: Merge "libsparse: allow including from C++"
* commit '0cb82da25475d30f8cddbf60764400f3040809ae':
libsparse: allow including from C++
Diffstat (limited to 'libsparse')
-rw-r--r-- | libsparse/include/sparse/sparse.h | 8 |
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 | ||
24 | extern "C" { | ||
25 | #endif | ||
26 | |||
23 | struct sparse_file; | 27 | struct sparse_file; |
24 | 28 | ||
25 | /** | 29 | /** |
@@ -273,4 +277,8 @@ void sparse_file_verbose(struct sparse_file *s); | |||
273 | */ | 277 | */ |
274 | extern void (*sparse_print_verbose)(const char *fmt, ...); | 278 | extern void (*sparse_print_verbose)(const char *fmt, ...); |
275 | 279 | ||
280 | #ifdef __cplusplus | ||
281 | } | ||
282 | #endif | ||
283 | |||
276 | #endif | 284 | #endif |