[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 3/3] 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>
---
 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>
-- 
2.34.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.