projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aada312
)
cz: add C++ support to xz.h
author
Lasse Collin
<lasse.collin@tukaani.org>
Wed, 27 Feb 2013 15:37:18 +0000
(16:37 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 27 Feb 2013 15:37:18 +0000
(16:37 +0100)
Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/libarchive/unxz/xz.h
patch
|
blob
|
history
diff --git
a/archival/libarchive/unxz/xz.h
b/archival/libarchive/unxz/xz.h
index 6842ed726be86112e7824c0bb27b098b5c2e265b..e0b22db56d121d0f502c7e01f68063235bea7abc 100644
(file)
--- a/
archival/libarchive/unxz/xz.h
+++ b/
archival/libarchive/unxz/xz.h
@@
-19,6
+19,10
@@
# include <stdint.h>
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* In Linux, this is used to make extern functions static when needed. */
#ifndef XZ_EXTERN
# define XZ_EXTERN extern
@@
-268,4
+272,9
@@
XZ_EXTERN void XZ_FUNC xz_crc32_init(void);
XZ_EXTERN uint32_t XZ_FUNC xz_crc32(
const uint8_t *buf, size_t size, uint32_t crc);
#endif
+
+#ifdef __cplusplus
+}
+#endif
+
#endif