aboutsummaryrefslogtreecommitdiff
path: root/block-qcow.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-09-18 19:32:11 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-09-18 19:32:11 +0000
commite2731add29e3c74a472dcb81f90bf9aa14f4b8e1 (patch)
treeba052b51a0dd9e056b6536f9966f3380118fb9fa /block-qcow.c
parentc9a621176e479b8106056ed992fddf34d9d0d206 (diff)
downloadqemu-e2731add29e3c74a472dcb81f90bf9aa14f4b8e1.zip
qemu-e2731add29e3c74a472dcb81f90bf9aa14f4b8e1.tar.gz
qemu-e2731add29e3c74a472dcb81f90bf9aa14f4b8e1.tar.bz2
fixed block close() method prototype
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1068 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block-qcow.c')
-rw-r--r--block-qcow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block-qcow.c b/block-qcow.c
index 953f42c..99c3832 100644
--- a/block-qcow.c
+++ b/block-qcow.c
@@ -521,7 +521,7 @@ static int qcow_write(BlockDriverState *bs, int64_t sector_num,
return 0;
}
-static int qcow_close(BlockDriverState *bs)
+static void qcow_close(BlockDriverState *bs)
{
BDRVQcowState *s = bs->opaque;
qemu_free(s->l1_table);