summaryrefslogtreecommitdiff
path: root/block.h
diff options
context:
space:
mode:
authorFrediano Ziglio <freddy77@gmail.com>2011-07-27 20:12:00 +0200
committerKevin Wolf <kwolf@redhat.com>2011-08-01 12:10:29 +0200
commit5bf3f8e4f71e46f80b76dc8a03cc0c37cad5cde0 (patch)
tree5948a344ba3c0ff315a736db593a277f44352697 /block.h
parentf37bd73b76e7f1e300e6acfe1bb6d3b2bc63714b (diff)
block: Removed unused function bdrv_write_sync
Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block.h')
-rw-r--r--block.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/block.h b/block.h
index 59cc410e3b..e672bc669a 100644
--- a/block.h
+++ b/block.h
@@ -85,8 +85,6 @@ int bdrv_pwrite(BlockDriverState *bs, int64_t offset,
const void *buf, int count);
int bdrv_pwrite_sync(BlockDriverState *bs, int64_t offset,
const void *buf, int count);
-int bdrv_write_sync(BlockDriverState *bs, int64_t sector_num,
- const uint8_t *buf, int nb_sectors);
int bdrv_truncate(BlockDriverState *bs, int64_t offset);
int64_t bdrv_getlength(BlockDriverState *bs);
int64_t bdrv_get_allocated_file_size(BlockDriverState *bs);