提交 8d8b32b0 编写于 作者: P Peter Krempa

storage: Fix build with older compilers afeter gluster snapshot series

In commit e3226818 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.
上级 3cf074ee
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册