]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Rename 'clone' to 'clonevol' to avoid name clash with clone() syscall
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 7 Mar 2013 16:32:27 +0000 (16:32 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 7 Mar 2013 18:06:11 +0000 (18:06 +0000)
On RHEL-4 vintage one of the header files is polluted causing a
clash between the clone() syscall and the 'clone' parameter in
a libvirt driver API

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/driver.h

index f60bf9372156dae3035728e11fbebaaa6973d068..28b4a979499f9bd4be9747f78b5b351bce4264fc 100644 (file)
@@ -1443,7 +1443,7 @@ typedef char *
 typedef virStorageVolPtr
     (*virDrvStorageVolCreateXMLFrom)         (virStoragePoolPtr pool,
                                               const char *xmldesc,
-                                              virStorageVolPtr clone,
+                                              virStorageVolPtr clonevol,
                                               unsigned int flags);
 typedef int
     (*virDrvStorageVolDownload) (virStorageVolPtr vol,