summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShenglei Zhang <shenglei.zhang@intel.com>2019-11-14 19:46:41 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2019-11-20 15:03:24 +0000
commit54a07f8fe088d1fe3b7a6fec76d64ab25cdba656 (patch)
treec2df28674ece8eeb8ee3e0065ef07d66b4ebe09f
parentbf1ea933ec1c6447c4168c34cc1b7ea4ac8f3e4d (diff)
downloadedk2-54a07f8fe088d1fe3b7a6fec76d64ab25cdba656.tar.gz
edk2-54a07f8fe088d1fe3b7a6fec76d64ab25cdba656.tar.bz2
edk2-54a07f8fe088d1fe3b7a6fec76d64ab25cdba656.zip
MdePkg: Update the comments of IsLanguageSupported
Keep the comment style of IsLanguageSupported align with other functions. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
-rw-r--r--MdePkg/Include/Library/UefiLib.h19
-rw-r--r--MdePkg/Library/UefiLib/UefiLib.c18
2 files changed, 19 insertions, 18 deletions
diff --git a/MdePkg/Include/Library/UefiLib.h b/MdePkg/Include/Library/UefiLib.h
index 67c6f96747..0abb40d6ec 100644
--- a/MdePkg/Include/Library/UefiLib.h
+++ b/MdePkg/Include/Library/UefiLib.h
@@ -462,15 +462,16 @@ EfiTestChildHandle (
);
/**
- * This function checks the supported languages list for a target language,
- * This only supports RFC 4646 Languages.
- *
- * @param SupportedLanguages The supported languages
- * @param TargetLanguage The target language
- *
- * @return Returns EFI_SUCCESS if the language is supported,
- * EFI_UNSUPPORTED otherwise
- */
+ This function checks the supported languages list for a target language,
+ This only supports RFC 4646 Languages.
+
+ @param SupportedLanguages The supported languages
+ @param TargetLanguage The target language
+
+ @retval Returns EFI_SUCCESS if the language is supported,
+ EFI_UNSUPPORTED otherwise
+
+**/
EFI_STATUS
EFIAPI
IsLanguageSupported (
diff --git a/MdePkg/Library/UefiLib/UefiLib.c b/MdePkg/Library/UefiLib/UefiLib.c
index cc03be84c2..07c45d1e91 100644
--- a/MdePkg/Library/UefiLib/UefiLib.c
+++ b/MdePkg/Library/UefiLib/UefiLib.c
@@ -641,15 +641,15 @@ EfiTestChildHandle (
}
/**
- * This function checks the supported languages list for a target language,
- * This only supports RFC 4646 Languages.
- *
- * @param SupportedLanguages The supported languages
- * @param TargetLanguage The target language
- *
- * @return Returns EFI_SUCCESS if the language is supported,
- * EFI_UNSUPPORTED otherwise
- */
+ This function checks the supported languages list for a target language,
+ This only supports RFC 4646 Languages.
+
+ @param SupportedLanguages The supported languages
+ @param TargetLanguage The target language
+
+ @retval Returns EFI_SUCCESS if the language is supported,
+ EFI_UNSUPPORTED otherwise
+**/
EFI_STATUS
EFIAPI
IsLanguageSupported (