Skip to content

Commit

Permalink
block: Make bdrv_{copy_on_read,crypto_luks,replication} static
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
  • Loading branch information
bertogg authored and kevmw committed Mar 19, 2019
1 parent 8d9648c commit 782b9d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion block/copy-on-read.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion block/crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion block/replication.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),

Expand Down

0 comments on commit 782b9d0

Please sign in to comment.