]> xenbits.xensource.com Git - libvirt.git/commitdiff
storage: Fix build with older compilers afeter gluster snapshot series
authorPeter Krempa <pkrempa@redhat.com>
Fri, 14 Feb 2014 10:46:37 +0000 (11:46 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 14 Feb 2014 10:46:37 +0000 (11:46 +0100)
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.

src/storage/storage_backend.h

index 1c7ad1e72d5979183ea05b9ca957e0be231626a5..5314411ed3daa0e525c5c26432e3c8d6b654e447 100644 (file)
@@ -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 {