Revision e2731add

b/block-cow.c
202 202
    return 0;
203 203
}
204 204

  
205
static int cow_close(BlockDriverState *bs)
205
static void cow_close(BlockDriverState *bs)
206 206
{
207 207
    BDRVCowState *s = bs->opaque;
208 208
    munmap(s->cow_bitmap_addr, s->cow_bitmap_size);
b/block-qcow.c
521 521
    return 0;
522 522
}
523 523

  
524
static int qcow_close(BlockDriverState *bs)
524
static void qcow_close(BlockDriverState *bs)
525 525
{
526 526
    BDRVQcowState *s = bs->opaque;
527 527
    qemu_free(s->l1_table);
b/block-vmdk.c
258 258
    return -1;
259 259
}
260 260

  
261
static int vmdk_close(BlockDriverState *bs)
261
static void vmdk_close(BlockDriverState *bs)
262 262
{
263 263
    BDRVVmdkState *s = bs->opaque;
264 264
    qemu_free(s->l1_table);
b/block.c
554 554
    return 0;
555 555
}
556 556

  
557
static int raw_close(BlockDriverState *bs)
557
static void raw_close(BlockDriverState *bs)
558 558
{
559 559
    BDRVRawState *s = bs->opaque;
560 560
    close(s->fd);
b/block_int.h
33 33
                     uint8_t *buf, int nb_sectors);
34 34
    int (*bdrv_write)(BlockDriverState *bs, int64_t sector_num, 
35 35
                      const uint8_t *buf, int nb_sectors);
36
    int (*bdrv_close)(BlockDriverState *bs);
36
    void (*bdrv_close)(BlockDriverState *bs);
37 37
    int (*bdrv_create)(const char *filename, int64_t total_sectors, 
38 38
                       const char *backing_file, int flags);
39 39
    int (*bdrv_is_allocated)(BlockDriverState *bs, int64_t sector_num,

Also available in: Unified diff