diff options
author | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-03-15 00:53:52 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-03-15 00:53:52 +0000 |
commit | a77badbb42442599431ce02add948c0703c5d044 (patch) | |
tree | ef508ebf9d5e92ef1934ae596123392fa97b4a60 /MdePkg | |
parent | d4e0afd8261eb00f66e2af591333e31be667579c (diff) | |
download | edk2-a77badbb42442599431ce02add948c0703c5d044.tar.gz edk2-a77badbb42442599431ce02add948c0703c5d044.tar.bz2 edk2-a77badbb42442599431ce02add948c0703c5d044.zip |
Refine code to follow coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11400 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/Library/DebugPrintErrorLevelLib.h | 11 | ||||
-rw-r--r-- | MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.c | 8 |
2 files changed, 13 insertions, 6 deletions
diff --git a/MdePkg/Include/Library/DebugPrintErrorLevelLib.h b/MdePkg/Include/Library/DebugPrintErrorLevelLib.h index 1e6bd65ba5..2b051f4210 100644 --- a/MdePkg/Include/Library/DebugPrintErrorLevelLib.h +++ b/MdePkg/Include/Library/DebugPrintErrorLevelLib.h @@ -11,6 +11,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
+#ifndef _DEBUG_PRINT_ERROR_LEVEL_LIB_H_
+#define _DEBUG_PRINT_ERROR_LEVEL_LIB_H_
/**
Returns the debug print error level mask for the current module.
@@ -26,9 +28,11 @@ GetDebugPrintErrorLevel ( /**
Sets the global debug print error level mask fpr the entire platform.
-
- @retval TRUE The debug print error level mask was sucessfully set.
- @retval FALSE The debug print error level mask could not be set.
+
+ @param ErrorLevel Global debug print error level
+
+ @retval TRUE The debug print error level mask was sucessfully set.
+ @retval FALSE The debug print error level mask could not be set.
**/
BOOLEAN
@@ -36,3 +40,4 @@ EFIAPI SetDebugPrintErrorLevel (
UINT32 ErrorLevel
);
+#endif
diff --git a/MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.c b/MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.c index df4612e051..7af127f99f 100644 --- a/MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.c +++ b/MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.c @@ -38,9 +38,11 @@ GetDebugPrintErrorLevel ( /**
Sets the global debug print error level mask fpr the entire platform.
-
- @retval TRUE The debug print error level mask was sucessfully set.
- @retval FALSE The debug print error level mask could not be set.
+
+ @param ErrorLevel Global debug print error level.
+
+ @retval TRUE The debug print error level mask was sucessfully set.
+ @retval FALSE The debug print error level mask could not be set.
**/
BOOLEAN
|