diff options
author | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-04-01 22:16:01 +0000 |
---|---|---|
committer | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-04-01 22:16:01 +0000 |
commit | ae724571beb0cff6edefe42942b7cdc7aa81ee94 (patch) | |
tree | aebe447e031e49a703e77503dec70dcaf46bed30 /ShellPkg/Include | |
parent | 5f2915f59380777728344bbbca587d4944f19ed0 (diff) | |
download | edk2-platforms-ae724571beb0cff6edefe42942b7cdc7aa81ee94.tar.xz |
Comment's added and fixed.
Pointer's checked for NULL before access and after memory allocations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11499 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Include')
-rw-r--r-- | ShellPkg/Include/Library/ShellLib.h | 2 | ||||
-rw-r--r-- | ShellPkg/Include/ShellBase.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ShellPkg/Include/Library/ShellLib.h b/ShellPkg/Include/Library/ShellLib.h index 6061262221..12cae5afeb 100644 --- a/ShellPkg/Include/Library/ShellLib.h +++ b/ShellPkg/Include/Library/ShellLib.h @@ -1191,7 +1191,7 @@ ShellPromptForResponse ( to prevent invalid answers to question.
@param[in] HiiFormatStringId The format string Id for getting from Hii.
@param[in] HiiFormatHandle The format string Handle for getting from Hii.
- @param[out] Response The pointer to Response, which will be populated upon return.
+ @param[in,out] Response The pointer to Response, which will be populated upon return.
@retval EFI_SUCCESS The operation was sucessful.
@return other The operation failed.
diff --git a/ShellPkg/Include/ShellBase.h b/ShellPkg/Include/ShellBase.h index bd0462c59c..73ef064207 100644 --- a/ShellPkg/Include/ShellBase.h +++ b/ShellPkg/Include/ShellBase.h @@ -15,7 +15,7 @@ #ifndef __SHELL_BASE__
#define __SHELL_BASE__
-#define ABS(a) (a<0)?(-(a)):(a)
+#define ABS(a) ((a<0)?(-(a)):(a))
typedef VOID *SHELL_FILE_HANDLE;
|