From 68d86c78ef6efab97ccf25ba67b6d59afa4101cb Mon Sep 17 00:00:00 2001 Message-Id: <68d86c78ef6efab97ccf25ba67b6d59afa4101cb@dist-git> From: Peter Krempa Date: Wed, 26 Feb 2014 14:55:31 +0100 Subject: [PATCH] storage: Fix build with older compilers afeter gluster snapshot series https://bugzilla.redhat.com/show_bug.cgi?id=1032370 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. (cherry picked from commit 8d8b32b0da7f4d1107a14c3892873b3c7f858389) Signed-off-by: Jiri Denemark --- 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.9.0