[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] xen/common: gunzip: Fix MISRA C 2012 Rule 8.4 violation
commit 21a41a6164305bbc66ff1e42ffc11301712f6d65 Author: Xenia Ragiadakou <burzalodowa@xxxxxxxxx> AuthorDate: Wed Jun 22 18:15:14 2022 +0300 Commit: Julien Grall <jgrall@xxxxxxxxxx> CommitDate: Thu Jun 23 19:46:27 2022 +0100 xen/common: gunzip: Fix MISRA C 2012 Rule 8.4 violation Include header <xen/gunzip.h> 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 <burzalodowa@xxxxxxxxx> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx> --- 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 <xen/errno.h> +#include <xen/gunzip.h> #include <xen/init.h> #include <xen/lib.h> #include <xen/mm.h> -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |