diff options
author | Alberto Garcia <berto@igalia.com> | 2019-03-18 17:48:01 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-03-19 15:49:29 +0100 |
commit | 782b9d06bf9853678fe3225426659539d0bdf668 (patch) | |
tree | a465413aa5fdd1d41162d57c01850fdfdf96dd5d | |
parent | 8d9648cbf3ea60aad05fb10485ae6d2ff6ae587c (diff) | |
download | qemu-782b9d06bf9853678fe3225426659539d0bdf668.zip qemu-782b9d06bf9853678fe3225426659539d0bdf668.tar.gz qemu-782b9d06bf9853678fe3225426659539d0bdf668.tar.bz2 |
block: Make bdrv_{copy_on_read,crypto_luks,replication} static
Signed-off-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r-- | block/copy-on-read.c | 2 | ||||
-rw-r--r-- | block/crypto.c | 2 | ||||
-rw-r--r-- | block/replication.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/block/copy-on-read.c b/block/copy-on-read.c index 64dcc42..d670fec 100644 --- a/block/copy-on-read.c +++ b/block/copy-on-read.c @@ -134,7 +134,7 @@ static bool cor_recurse_is_first_non_filter(BlockDriverState *bs, } -BlockDriver bdrv_copy_on_read = { +static BlockDriver bdrv_copy_on_read = { .format_name = "copy-on-read", .bdrv_open = cor_open, diff --git a/block/crypto.c b/block/crypto.c index fd8c7cf..3af46b8 100644 --- a/block/crypto.c +++ b/block/crypto.c @@ -625,7 +625,7 @@ static const char *const block_crypto_strong_runtime_opts[] = { NULL }; -BlockDriver bdrv_crypto_luks = { +static BlockDriver bdrv_crypto_luks = { .format_name = "luks", .instance_size = sizeof(BlockCrypto), .bdrv_probe = block_crypto_probe_luks, diff --git a/block/replication.c b/block/replication.c index b95bd28..3d4dedd 100644 --- a/block/replication.c +++ b/block/replication.c @@ -682,7 +682,7 @@ static const char *const replication_strong_runtime_opts[] = { NULL }; -BlockDriver bdrv_replication = { +static BlockDriver bdrv_replication = { .format_name = "replication", .instance_size = sizeof(BDRVReplicationState), |