1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-11-02 04:23:50 +03:00

Remove C++ private keyword from headers.

Add extern C definition for libdevmapper, lvm2app and lvm2cmd.
This commit is contained in:
Milan Broz
2010-06-16 13:01:25 +00:00
parent cee2f123a4
commit c9c7d25c35
6 changed files with 27 additions and 5 deletions

View File

@@ -566,7 +566,7 @@ struct dm_report *dm_report_init(uint32_t *report_types,
const char *output_separator,
uint32_t output_flags,
const char *sort_keys,
void *private)
void *private_data)
{
struct dm_report *rh;
const struct dm_report_object_type *type;
@@ -588,7 +588,7 @@ struct dm_report *dm_report_init(uint32_t *report_types,
rh->separator = output_separator;
rh->fields = fields;
rh->types = types;
rh->private = private;
rh->private = private_data;
rh->flags |= output_flags & DM_REPORT_OUTPUT_MASK;