[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH-for-8.1 2/5] block/dmg: Remove duplicated prototype declarations
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH-for-8.1 2/5] block/dmg: Remove duplicated prototype declarations |
Date: |
Mon, 20 Mar 2023 14:42:16 +0100 |
Both dmg_uncompress_bz2 / dmg_uncompress_lzfse are declared
in "dmg.h", included 1 line before.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
block/dmg.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/block/dmg.c b/block/dmg.c
index e10b9a2ba5..a5d22fb8f9 100644
--- a/block/dmg.c
+++ b/block/dmg.c
@@ -31,12 +31,6 @@
#include "qemu/memalign.h"
#include "dmg.h"
-int (*dmg_uncompress_bz2)(char *next_in, unsigned int avail_in,
- char *next_out, unsigned int avail_out);
-
-int (*dmg_uncompress_lzfse)(char *next_in, unsigned int avail_in,
- char *next_out, unsigned int avail_out);
-
enum {
/* Limit chunk sizes to prevent unreasonable amounts of memory being used
* or truncating when converting to 32-bit types
--
2.38.1