From: Alberto Garcia Date: Mon, 11 May 2015 12:54:59 +0000 (+0300) Subject: qcow2: style fixes in qcow2-cache.c X-Git-Tag: v2.4.0-rc0~122^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1b4efe5c4088fd2289e39b95bbdf73b3dcb7432;p=thirdparty%2Fqemu.git 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 Reviewed-by: Stefan Hajnoczi Reviewed-by: Max Reitz Signed-off-by: Kevin Wolf --- diff --git a/block/qcow2-cache.c b/block/qcow2-cache.c index bde3c4fb134..ed92a098c4f 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;