[libvirt] [PATCH] protocol: Don't use rename as a variable name

Martin Kletzander mkletzan at redhat.com
Sat Aug 15 15:19:12 UTC 2015


That causes shadowing errors on older compilers.

Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
Pushed under the build-breaker rule.

 src/remote/remote_protocol.x | 2 +-
 src/remote_protocol-structs  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x
index 770aa72dc0f6..92a92e2bfa24 100644
--- a/src/remote/remote_protocol.x
+++ b/src/remote/remote_protocol.x
@@ -3237,7 +3237,7 @@ struct remote_domain_rename_args {
 };

 struct remote_domain_rename_ret {
-    int rename;
+    int retcode;
 };

 /*----- Protocol. -----*/
diff --git a/src/remote_protocol-structs b/src/remote_protocol-structs
index ca36dc96e634..ff99c0096941 100644
--- a/src/remote_protocol-structs
+++ b/src/remote_protocol-structs
@@ -2690,7 +2690,7 @@ struct remote_domain_rename_args {
         u_int                      flags;
 };
 struct remote_domain_rename_ret {
-        int                        rename;
+        int                        retcode;
 };
 enum remote_procedure {
         REMOTE_PROC_CONNECT_OPEN = 1,
--
2.5.0




More information about the libvir-list mailing list