diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2019-09-17 12:24:25 +0100 |
|---|---|---|
| committer | Daniel P. Berrangé <berrange@redhat.com> | 2019-10-01 14:27:15 +0100 |
| commit | 509a1d9da44461ecf3405c545ce7c7df2da25693 (patch) | |
| tree | 132e817c590f2017a03d83d967840fc66938fd97 /src/admin_protocol-structs | |
| parent | 557ac8cbf54054de1372e45041dd54037ef26c07 (diff) | |
| download | libvirt-509a1d9da44461ecf3405c545ce7c7df2da25693.tar.gz | |
remote: don't pull anonymous enums into rpc protocol structs
The VIR_TYPED_PARAM_* enum fields are defined in libvirt-common.h, not
in the remote protcol, so shouldn't be part of the protocol structs
output check. This avoids similar problems hitting when we add use of
glib, which has other such anonymous enums.
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'src/admin_protocol-structs')
| -rw-r--r-- | src/admin_protocol-structs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/admin_protocol-structs b/src/admin_protocol-structs index a6c53807ee..983e6e5292 100644 --- a/src/admin_protocol-structs +++ b/src/admin_protocol-structs @@ -1,13 +1,4 @@ /* -*- c -*- */ -enum { - VIR_TYPED_PARAM_INT = 1, - VIR_TYPED_PARAM_UINT = 2, - VIR_TYPED_PARAM_LLONG = 3, - VIR_TYPED_PARAM_ULLONG = 4, - VIR_TYPED_PARAM_DOUBLE = 5, - VIR_TYPED_PARAM_BOOLEAN = 6, - VIR_TYPED_PARAM_STRING = 7, -}; struct admin_typed_param_value { int type; union { |
