summaryrefslogtreecommitdiff
path: root/ShellPkg/Include
diff options
context:
space:
mode:
authorjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-05 20:55:45 +0000
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-05 20:55:45 +0000
commita1d4bfcc3f58a9ed0ce6118556016c7c058d01b1 (patch)
treea27ce55f0ba51146714246b53849e4c9c7fe0d2d /ShellPkg/Include
parentc5981e3c3d9afbd6183704937e8c93f6306fc8ca (diff)
downloadedk2-platforms-a1d4bfcc3f58a9ed0ce6118556016c7c058d01b1.tar.xz
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
Diffstat (limited to 'ShellPkg/Include')
-rw-r--r--ShellPkg/Include/Library/ShellCEntryLib.h2
-rw-r--r--ShellPkg/Include/ShellBase.h6
2 files changed, 3 insertions, 5 deletions
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 {
///