[PATCH] storage: Fix build with older compilers afeter gluster snapshot series

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

 



In commit e32268184b4fd1611ed5ffd3c758b8f6a34152e6 I accidentally added
twice a typedef for virStorageFileBackend when I moved it between files
across patch iterations. The double declaration breaks build on older
compilers in RHEL5 and FreeBSD.

Remove the spurious definition.
---

Notes:
    Pushed under the build-breaker rule.

 src/storage/storage_backend.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/storage/storage_backend.h b/src/storage/storage_backend.h
index 1c7ad1e..5314411 100644
--- a/src/storage/storage_backend.h
+++ b/src/storage/storage_backend.h
@@ -207,9 +207,6 @@ typedef int
 (*virStorageFileBackendStat)(virStorageFilePtr file,
                              struct stat *st);

-typedef struct _virStorageFileBackend virStorageFileBackend;
-typedef virStorageFileBackend *virStorageFileBackendPtr;
-
 virStorageFileBackendPtr virStorageFileBackendForType(int type, int protocol);

 struct _virStorageFileBackend {
-- 
1.8.5.3

--
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]