aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorAlberto Garcia <berto@igalia.com>2015-05-11 15:54:59 +0300
committerKevin Wolf <kwolf@redhat.com>2015-05-22 17:08:01 +0200
commitd1b4efe5c4088fd2289e39b95bbdf73b3dcb7432 (patch)
treeaba7f45647d8f7123dbb6e0ea65722218833749e /block
parenta3f1afb43a09e4577571c044c48f2ba9e6e4ad06 (diff)
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.c6
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;