summaryrefslogtreecommitdiff
path: root/libdm/libdm-report.c
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-04-03 14:25:56 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2021-04-06 21:26:57 +0200
commitf1d3648dc786a8fad53a32cbd334a44b36c53767 (patch)
treeda287ff67859a1d22a0e89aff606266bc53c3fee /libdm/libdm-report.c
parent14ea63cfc7ba7a8a47197e7fae0c045eda68e749 (diff)
downloadlvm2-f1d3648dc786a8fad53a32cbd334a44b36c53767.tar.gz
libdm: eliminate some abi-dumper errors
ABI dumper does not like missing enum/union/struct names, so add them with _e, _u suffix. Usage reference: https://doc.dpdk.org/guides-16.04/contributing/versioning.html
Diffstat (limited to 'libdm/libdm-report.c')
-rw-r--r--libdm/libdm-report.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdm/libdm-report.c b/libdm/libdm-report.c
index a1c07badd..5433e74ae 100644
--- a/libdm/libdm-report.c
+++ b/libdm/libdm-report.c
@@ -90,7 +90,7 @@ struct report_group_item {
struct dm_list list;
struct dm_report_group *group;
struct dm_report *report;
- union {
+ union store_u {
uint32_t orig_report_flags;
uint32_t finished_count;
} store;
@@ -207,7 +207,7 @@ struct selection_str_list {
};
struct field_selection_value {
- union {
+ union value_u {
const char *s;
uint64_t i;
time_t t;
@@ -227,7 +227,7 @@ struct field_selection {
struct selection_node {
struct dm_list list;
uint32_t type;
- union {
+ union selection_u {
struct field_selection *item;
struct dm_list set;
} selection;