From: Xenia Ragiadakou Date: Wed, 22 Jun 2022 15:15:12 +0000 (+0300) Subject: xen/arm: shutdown: Fix MISRA C 2012 Rule 8.4 violation X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~517 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f8af00d1a6abe46dca31c197d30cb5118d54cd54;p=xen.git xen/arm: shutdown: Fix MISRA C 2012 Rule 8.4 violation Include header so that the declarations of the functions machine_halt() and machine_restart(), which have external linkage, are visible before the function definitions. Signed-off-by: Xenia Ragiadakou Reviewed-by: Bertrand Marquis --- diff --git a/xen/arch/arm/shutdown.c b/xen/arch/arm/shutdown.c index 3dc6819d56..5550f50f61 100644 --- a/xen/arch/arm/shutdown.c +++ b/xen/arch/arm/shutdown.c @@ -2,6 +2,7 @@ #include #include #include +#include #include #include #include