From 21a41a6164305bbc66ff1e42ffc11301712f6d65 Mon Sep 17 00:00:00 2001 From: Xenia Ragiadakou Date: Wed, 22 Jun 2022 18:15:14 +0300 Subject: [PATCH] xen/common: gunzip: Fix MISRA C 2012 Rule 8.4 violation Include header so that the declarations of functions gzip_check() and perform_gunzip(), which have external linkage, are visible before the function definitions. Signed-off-by: Xenia Ragiadakou Reviewed-by: Stefano Stabellini Reviewed-by: Bertrand Marquis --- xen/common/gunzip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/common/gunzip.c b/xen/common/gunzip.c index b9ecc17e44..aa16fec4bb 100644 --- a/xen/common/gunzip.c +++ b/xen/common/gunzip.c @@ -1,4 +1,5 @@ #include +#include #include #include #include -- 2.30.2