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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That causes shadowing errors on older compilers.

Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
---
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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]