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>
This commit is contained in:
Alberto Garcia 2015-05-11 15:54:59 +03:00 committed by Kevin Wolf
parent a3f1afb43a
commit d1b4efe5c4

View File

@ -35,8 +35,8 @@ typedef struct Qcow2CachedTable {
} Qcow2CachedTable; } Qcow2CachedTable;
struct Qcow2Cache { struct Qcow2Cache {
Qcow2CachedTable* entries; Qcow2CachedTable *entries;
struct Qcow2Cache* depends; struct Qcow2Cache *depends;
int size; int size;
bool depends_on_flush; bool depends_on_flush;
void *table_array; void *table_array;
@ -81,7 +81,7 @@ Qcow2Cache *qcow2_cache_create(BlockDriverState *bs, int num_tables)
return c; return c;
} }
int qcow2_cache_destroy(BlockDriverState* bs, Qcow2Cache *c) int qcow2_cache_destroy(BlockDriverState *bs, Qcow2Cache *c)
{ {
int i; int i;