mirror of https://github.com/acidanthera/audk.git
IntelFrameworkPkg/FrameworkUefiLib: Add 'OUT' decorator where necessary.
The functions AddUnicodeString() and AddUnicodeString2() might return a new value into their parameter UnicodeStringTable, hence add the appropiate 'OUT' decorator. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
5b9626e8eb
commit
b6d5def2fa
|
@ -865,10 +865,9 @@ LookupUnicodeString2 (
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
AddUnicodeString (
|
|
||||||
IN CONST CHAR8 *Language,
|
IN CONST CHAR8 *Language,
|
||||||
IN CONST CHAR8 *SupportedLanguages,
|
IN CONST CHAR8 *SupportedLanguages,
|
||||||
IN EFI_UNICODE_STRING_TABLE **UnicodeStringTable,
|
IN OUT EFI_UNICODE_STRING_TABLE **UnicodeStringTable,
|
||||||
IN CONST CHAR16 *UnicodeString
|
IN CONST CHAR16 *UnicodeString
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -1045,7 +1044,7 @@ EFIAPI
|
||||||
AddUnicodeString2 (
|
AddUnicodeString2 (
|
||||||
IN CONST CHAR8 *Language,
|
IN CONST CHAR8 *Language,
|
||||||
IN CONST CHAR8 *SupportedLanguages,
|
IN CONST CHAR8 *SupportedLanguages,
|
||||||
IN EFI_UNICODE_STRING_TABLE **UnicodeStringTable,
|
IN OUT EFI_UNICODE_STRING_TABLE **UnicodeStringTable,
|
||||||
IN CONST CHAR16 *UnicodeString,
|
IN CONST CHAR16 *UnicodeString,
|
||||||
IN BOOLEAN Iso639Language
|
IN BOOLEAN Iso639Language
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue