diff options
author | Alberto Garcia | 2015-05-11 14:54:59 +0200 |
---|---|---|
committer | Kevin Wolf | 2015-05-22 17:08:01 +0200 |
commit | d1b4efe5c4088fd2289e39b95bbdf73b3dcb7432 (patch) | |
tree | aba7f45647d8f7123dbb6e0ea65722218833749e /block | |
parent | qcow2: make qcow2_cache_put() a void function (diff) | |
download | qemu-d1b4efe5c4088fd2289e39b95bbdf73b3dcb7432.tar.gz qemu-d1b4efe5c4088fd2289e39b95bbdf73b3dcb7432.tar.xz qemu-d1b4efe5c4088fd2289e39b95bbdf73b3dcb7432.zip |
qcow2: style fixes in qcow2-cache.c
Fix pointer declaration to make it consistent with the rest of the
code.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/qcow2-cache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/block/qcow2-cache.c b/block/qcow2-cache.c index bde3c4fb13..ed92a098c4 100644 --- a/block/qcow2-cache.c +++ b/block/qcow2-cache.c @@ -35,8 +35,8 @@ typedef struct Qcow2CachedTable { } Qcow2CachedTable; struct Qcow2Cache { - Qcow2CachedTable* entries; - struct Qcow2Cache* depends; + Qcow2CachedTable *entries; + struct Qcow2Cache *depends; int size; bool depends_on_flush; void *table_array; @@ -81,7 +81,7 @@ Qcow2Cache *qcow2_cache_create(BlockDriverState *bs, int num_tables) return c; } -int qcow2_cache_destroy(BlockDriverState* bs, Qcow2Cache *c) +int qcow2_cache_destroy(BlockDriverState *bs, Qcow2Cache *c) { int i; |