mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-25 22:15:20 +00:00
storage: Fix build with older compilers afeter gluster snapshot series
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.
This commit is contained in:
parent
3cf074ee40
commit
8d8b32b0da
@ -207,9 +207,6 @@ typedef int
|
|||||||
(*virStorageFileBackendStat)(virStorageFilePtr file,
|
(*virStorageFileBackendStat)(virStorageFilePtr file,
|
||||||
struct stat *st);
|
struct stat *st);
|
||||||
|
|
||||||
typedef struct _virStorageFileBackend virStorageFileBackend;
|
|
||||||
typedef virStorageFileBackend *virStorageFileBackendPtr;
|
|
||||||
|
|
||||||
virStorageFileBackendPtr virStorageFileBackendForType(int type, int protocol);
|
virStorageFileBackendPtr virStorageFileBackendForType(int type, int protocol);
|
||||||
|
|
||||||
struct _virStorageFileBackend {
|
struct _virStorageFileBackend {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user