From a1d4bfcc3f58a9ed0ce6118556016c7c058d01b1 Mon Sep 17 00:00:00 2001 From: jcarsey Date: Tue, 5 Apr 2011 20:55:45 +0000 Subject: add comments to function declarations and definitions and updated to match coding style document. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11505 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Include/Library/ShellCEntryLib.h | 2 +- ShellPkg/Include/ShellBase.h | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'ShellPkg/Include') diff --git a/ShellPkg/Include/Library/ShellCEntryLib.h b/ShellPkg/Include/Library/ShellCEntryLib.h index 79136a6894..dfbb16f9c3 100644 --- a/ShellPkg/Include/Library/ShellCEntryLib.h +++ b/ShellPkg/Include/Library/ShellCEntryLib.h @@ -12,7 +12,7 @@ **/ -#if !defined (_SHELL_C_ENTRY_LIB_) +#ifndef _SHELL_C_ENTRY_LIB_ #define _SHELL_C_ENTRY_LIB_ /** diff --git a/ShellPkg/Include/ShellBase.h b/ShellPkg/Include/ShellBase.h index 73ef064207..92f5833f14 100644 --- a/ShellPkg/Include/ShellBase.h +++ b/ShellPkg/Include/ShellBase.h @@ -12,14 +12,13 @@ **/ -#ifndef __SHELL_BASE__ -#define __SHELL_BASE__ +#ifndef _SHELL_BASE_ +#define _SHELL_BASE_ #define ABS(a) ((a<0)?(-(a)):(a)) typedef VOID *SHELL_FILE_HANDLE; -#ifndef SHELL_FREE_NON_NULL #define SHELL_FREE_NON_NULL(Pointer) \ do { \ if ((Pointer) != NULL) { \ @@ -27,7 +26,6 @@ typedef VOID *SHELL_FILE_HANDLE; (Pointer) = NULL; \ } \ } while(FALSE) -#endif //SHELL_FREE_NON_NULL typedef enum { /// -- cgit v1.2.3