diff options
author | Milan Broz <mbroz@redhat.com> | 2010-06-16 13:01:25 +0000 |
---|---|---|
committer | Milan Broz <mbroz@redhat.com> | 2010-06-16 13:01:25 +0000 |
commit | c9c7d25c35fce40035524bad972496c3783a6e8c (patch) | |
tree | c6afe453fb18c361ba0d7dc8ca07284b442f8ea4 /tools/lvm2cmd.h | |
parent | cee2f123a4db200cd5fb96f3c980716e2f1ffd97 (diff) | |
download | lvm2-c9c7d25c35fce40035524bad972496c3783a6e8c.tar.gz |
Remove C++ private keyword from headers.
Add extern C definition for libdevmapper, lvm2app and lvm2cmd.
Diffstat (limited to 'tools/lvm2cmd.h')
-rw-r--r-- | tools/lvm2cmd.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/lvm2cmd.h b/tools/lvm2cmd.h index c1ccafacc..66651d89b 100644 --- a/tools/lvm2cmd.h +++ b/tools/lvm2cmd.h @@ -16,6 +16,10 @@ #ifndef _LVM_CMDLIB_H #define _LVM_CMDLIB_H +#ifdef __cplusplus +extern "C" { +#endif + #ifndef _LVM_LOG_H typedef void (*lvm2_log_fn_t) (int level, const char *file, int line, int dm_errno, const char *message); @@ -63,4 +67,7 @@ int lvm2_run(void *handle, const char *cmdline); /* Release handle */ void lvm2_exit(void *handle); +#ifdef __cplusplus +} +#endif #endif |