From: Peter Krempa Date: Fri, 14 Feb 2014 10:46:37 +0000 (+0100) Subject: storage: Fix build with older compilers afeter gluster snapshot series X-Git-Tag: v1.2.2-rc1~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d8b32b0da7f4d1107a14c3892873b3c7f858389;p=thirdparty%2Flibvirt.git 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. --- diff --git a/src/storage/storage_backend.h b/src/storage/storage_backend.h index 1c7ad1e72d..5314411ed3 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 {