From cc15a619a6fe527b6a00cbea3a0359a9c9c8602b Mon Sep 17 00:00:00 2001 From: Pierre Gondois Date: Tue, 20 Apr 2021 12:00:23 +0100 Subject: ArmPkg: Fix Ecc error 8003 This patch fixes the following Ecc reported error: The #ifndef at the start of an include file should have one postfix underscore, and no prefix underscore character Some include guards have been modified to match the name of the header file. Some comments have also been added on the closing '#endif'. Cc: Bret Barkelew Cc: Sean Brogan Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Sami Mujawar Signed-off-by: Pierre Gondois Reviewed-by: Sami Mujawar --- ArmPkg/Include/Library/ArmSmcLib.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ArmPkg/Include/Library/ArmSmcLib.h') diff --git a/ArmPkg/Include/Library/ArmSmcLib.h b/ArmPkg/Include/Library/ArmSmcLib.h index 835d6788e0..ced60b3c11 100644 --- a/ArmPkg/Include/Library/ArmSmcLib.h +++ b/ArmPkg/Include/Library/ArmSmcLib.h @@ -6,8 +6,8 @@ * **/ -#ifndef __ARM_SMC_LIB__ -#define __ARM_SMC_LIB__ +#ifndef ARM_SMC_LIB_H_ +#define ARM_SMC_LIB_H_ /** * The size of the SMC arguments are different between AArch64 and AArch32. @@ -37,4 +37,4 @@ ArmCallSmc ( IN OUT ARM_SMC_ARGS *Args ); -#endif +#endif // ARM_SMC_LIB_H_ -- cgit v1.2.3