summaryrefslogtreecommitdiff
path: root/liblvm
diff options
context:
space:
mode:
authorMilan Broz <mbroz@redhat.com>2010-06-16 13:01:25 +0000
committerMilan Broz <mbroz@redhat.com>2010-06-16 13:01:25 +0000
commitc9c7d25c35fce40035524bad972496c3783a6e8c (patch)
treec6afe453fb18c361ba0d7dc8ca07284b442f8ea4 /liblvm
parentcee2f123a4db200cd5fb96f3c980716e2f1ffd97 (diff)
downloadlvm2-c9c7d25c35fce40035524bad972496c3783a6e8c.tar.gz
Remove C++ private keyword from headers.
Add extern C definition for libdevmapper, lvm2app and lvm2cmd.
Diffstat (limited to 'liblvm')
-rw-r--r--liblvm/lvm2app.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/liblvm/lvm2app.h b/liblvm/lvm2app.h
index 09455daa4..05f804f6f 100644
--- a/liblvm/lvm2app.h
+++ b/liblvm/lvm2app.h
@@ -18,6 +18,9 @@
#include <stdint.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
/******************************** WARNING ***********************************
*
@@ -1194,4 +1197,7 @@ uint64_t lvm_pv_get_free(const pv_t pv);
*/
int lvm_pv_resize(const pv_t pv, uint64_t new_size);
+#ifdef __cplusplus
+}
+#endif
#endif /* _LIB_LVM2APP_H */