From: Xenia Ragiadakou Date: Wed, 22 Jun 2022 15:15:14 +0000 (+0300) Subject: xen/common: gunzip: Fix MISRA C 2012 Rule 8.4 violation X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~515 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=21a41a6164305bbc66ff1e42ffc11301712f6d65;p=xen.git 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 --- 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