aboutsummaryrefslogtreecommitdiff
path: root/block_int.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2010-04-09 15:22:13 +0100
committerKevin Wolf <kwolf@redhat.com>2010-04-23 16:21:57 +0200
commitb66460e4e938910b0e5495e6d3d7b2d5b3cf9c99 (patch)
tree6a48d5a93b0a06419c41b7f3a8c0e5ea05adb234 /block_int.h
parent763b6084baaf7d4e8b93f8b74f23a37b2fdb4eb4 (diff)
block: Do not export bdrv_first
The bdrv_first linked list of BlockDriverStates is currently extern so that block migration can iterate the list. However, since there is already a bdrv_iterate() function there is no need to expose bdrv_first. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block_int.h')
-rw-r--r--block_int.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/block_int.h b/block_int.h
index e7e1e7e514..d5a808db9f 100644
--- a/block_int.h
+++ b/block_int.h
@@ -200,8 +200,6 @@ void qemu_aio_release(void *p);
void *qemu_blockalign(BlockDriverState *bs, size_t size);
-extern BlockDriverState *bdrv_first;
-
#ifdef _WIN32
int is_windows_drive(const char *filename);
#endif