aboutsummaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-17 19:04:14 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-17 19:04:14 +0000
commit7ee930d03130e69282503949202b9e6812e8c1bd (patch)
tree22c61fde79af6b1227e20a2707f8a501f46348c6 /block.c
parent5628a6260ae8854d669d41aabb8c29a7a5b4bff9 (diff)
Fix warnings that would be caused by ld flag --warn-common
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5240 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block.c')
-rw-r--r--block.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/block.c b/block.c
index d85e27e43c..15f807a0ca 100644
--- a/block.c
+++ b/block.c
@@ -54,6 +54,8 @@ static int bdrv_read_em(BlockDriverState *bs, int64_t sector_num,
static int bdrv_write_em(BlockDriverState *bs, int64_t sector_num,
const uint8_t *buf, int nb_sectors);
+BlockDriverState *bdrv_first;
+
static BlockDriver *first_drv;
int path_is_absolute(const char *path)