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/Filesystem/SemihostFs/Arm/SemihostFs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.h') diff --git a/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.h b/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.h index ce92fe9f1b..5fe7c5f4d4 100644 --- a/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.h +++ b/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.h @@ -7,8 +7,8 @@ **/ -#ifndef __SEMIHOST_FS_H__ -#define __SEMIHOST_FS_H__ +#ifndef SEMIHOST_FS_H_ +#define SEMIHOST_FS_H_ EFI_STATUS VolumeOpen ( @@ -242,5 +242,5 @@ FileFlush ( IN EFI_FILE *File ); -#endif // __SEMIHOST_FS_H__ +#endif // SEMIHOST_FS_H_ -- cgit v1.2.3