|
|
c401cc |
From 68d86c78ef6efab97ccf25ba67b6d59afa4101cb Mon Sep 17 00:00:00 2001
|
|
|
c401cc |
Message-Id: <68d86c78ef6efab97ccf25ba67b6d59afa4101cb@dist-git>
|
|
|
c401cc |
From: Peter Krempa <pkrempa@redhat.com>
|
|
|
c401cc |
Date: Wed, 26 Feb 2014 14:55:31 +0100
|
|
|
c401cc |
Subject: [PATCH] storage: Fix build with older compilers afeter gluster
|
|
|
c401cc |
snapshot series
|
|
|
c401cc |
|
|
|
c401cc |
https://bugzilla.redhat.com/show_bug.cgi?id=1032370
|
|
|
c401cc |
|
|
|
c401cc |
In commit e32268184b4fd1611ed5ffd3c758b8f6a34152e6 I accidentally added
|
|
|
c401cc |
twice a typedef for virStorageFileBackend when I moved it between files
|
|
|
c401cc |
across patch iterations. The double declaration breaks build on older
|
|
|
c401cc |
compilers in RHEL5 and FreeBSD.
|
|
|
c401cc |
|
|
|
c401cc |
Remove the spurious definition.
|
|
|
c401cc |
|
|
|
c401cc |
(cherry picked from commit 8d8b32b0da7f4d1107a14c3892873b3c7f858389)
|
|
|
c401cc |
|
|
|
c401cc |
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
|
|
|
c401cc |
---
|
|
|
c401cc |
src/storage/storage_backend.h | 3 ---
|
|
|
c401cc |
1 file changed, 3 deletions(-)
|
|
|
c401cc |
|
|
|
c401cc |
diff --git a/src/storage/storage_backend.h b/src/storage/storage_backend.h
|
|
|
c401cc |
index 1c7ad1e..5314411 100644
|
|
|
c401cc |
--- a/src/storage/storage_backend.h
|
|
|
c401cc |
+++ b/src/storage/storage_backend.h
|
|
|
c401cc |
@@ -207,9 +207,6 @@ typedef int
|
|
|
c401cc |
(*virStorageFileBackendStat)(virStorageFilePtr file,
|
|
|
c401cc |
struct stat *st);
|
|
|
c401cc |
|
|
|
c401cc |
-typedef struct _virStorageFileBackend virStorageFileBackend;
|
|
|
c401cc |
-typedef virStorageFileBackend *virStorageFileBackendPtr;
|
|
|
c401cc |
-
|
|
|
c401cc |
virStorageFileBackendPtr virStorageFileBackendForType(int type, int protocol);
|
|
|
c401cc |
|
|
|
c401cc |
struct _virStorageFileBackend {
|
|
|
c401cc |
--
|
|
|
c401cc |
1.9.0
|
|
|
c401cc |
|