]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
protocol: Don't use rename as a variable name
authorMartin Kletzander <mkletzan@redhat.com>
Sat, 15 Aug 2015 14:44:38 +0000 (16:44 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Sat, 15 Aug 2015 15:15:33 +0000 (17:15 +0200)
That causes shadowing errors on older compilers.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/remote/remote_protocol.x
src/remote_protocol-structs

index 770aa72dc0f6573452acdb5c814bafded96ef096..92a92e2bfa247f2006e5b1f48b847413c07bb669 100644 (file)
@@ -3237,7 +3237,7 @@ struct remote_domain_rename_args {
 };
 
 struct remote_domain_rename_ret {
-    int rename;
+    int retcode;
 };
 
 /*----- Protocol. -----*/
index ca36dc96e634e2e30a017ee0d405cf08b90f7891..ff99c00969418d99ec7cced9adeeda87f4d26155 100644 (file)
@@ -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,