]> git.proxmox.com Git - mirror_qemu.git/commit
block/dmg: Declare a type definition for DMG uncompress function
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 20 Mar 2023 15:26:10 +0000 (16:26 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 24 Apr 2023 17:53:44 +0000 (13:53 -0400)
commitfdd5e90fdb4de364e12cc2722993c8f14784e7a4
tree269b4669b2c38b3fc5cf27a86af3e5d67baf2d6e
parentac5f7bf8e208cd7893dbb1a9520559e569a4677c
block/dmg: Declare a type definition for DMG uncompress function

Introduce the BdrvDmgUncompressFunc type defintion. To emphasis
dmg_uncompress_bz2 and dmg_uncompress_lzfse are pointer to functions,
declare them using this new typedef.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20230320152610.32052-1-philmd@linaro.org
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/dmg.c
block/dmg.h