[7018] more BlockDriver C99 initializers (Christoph Hellwig)
Revision: 7018
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7018 Author: aliguori Date: 2009-04-07 18:23:51 +0000 (Tue, 07 Apr 2009)
Log Message:
-----------
more BlockDriver C99 initializers (Christoph Hellwig)
Looks like the two bdrv_raw instances were missed last time.
Signed-off-by Christoph Hellwig <[email protected]>
Signed-off-by Anthony Liguori <[email protected]>
Modified Paths:
--------------
trunk/block-raw-win32.c
Modified: trunk/block-raw-win32.c
===================================================================
block-raw-win32.c +10 -14
@@ -229,20 +229,16 @@ }BlockDriver bdrv_raw = { -"raw" , -sizeof (BDRVRawState), -NULL ,/* no probe for protocols */ - raw_open, -NULL , -NULL , - raw_close, - raw_create, - raw_flush, - - .bdrv_read = raw_read, - .bdrv_write = raw_write, - .bdrv_truncate = raw_truncate, - .bdrv_getlength = raw_getlength, + .format_name ="raw" , + .instance_size =sizeof (BDRVRawState), + .bdrv_open = raw_open, + .bdrv_close = raw_close, + .bdrv_create = raw_create, + .bdrv_flush = raw_flush, + .bdrv_read = raw_read, + .bdrv_write = raw_write, + .bdrv_truncate = raw_truncate, + .bdrv_getlength = raw_getlength, };/***********************************************/