mirror of https://github.com/acidanthera/audk.git
DuetPkg, MdeModulePkg: Fix variable services hang with GCC44 X64
The C ellipses parameters are passed to functions differently by default with GCC 4.4. To make sure they are properly sent to VariableGetBestLanguage, we add 'EFIAPI' to this function. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11119 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
641370270f
commit
e1adae6084
|
@ -753,6 +753,7 @@ GetLangFromSupportedLangCodes (
|
||||||
|
|
||||||
**/
|
**/
|
||||||
CHAR8 *
|
CHAR8 *
|
||||||
|
EFIAPI
|
||||||
VariableGetBestLanguage (
|
VariableGetBestLanguage (
|
||||||
IN CONST CHAR8 *SupportedLanguages,
|
IN CONST CHAR8 *SupportedLanguages,
|
||||||
IN BOOLEAN Iso639Language,
|
IN BOOLEAN Iso639Language,
|
||||||
|
|
|
@ -572,6 +572,7 @@ GetLangFromSupportedLangCodes (
|
||||||
|
|
||||||
**/
|
**/
|
||||||
CHAR8 *
|
CHAR8 *
|
||||||
|
EFIAPI
|
||||||
VariableGetBestLanguage (
|
VariableGetBestLanguage (
|
||||||
IN CONST CHAR8 *SupportedLanguages,
|
IN CONST CHAR8 *SupportedLanguages,
|
||||||
IN BOOLEAN Iso639Language,
|
IN BOOLEAN Iso639Language,
|
||||||
|
|
|
@ -1248,6 +1248,7 @@ GetLangFromSupportedLangCodes (
|
||||||
|
|
||||||
**/
|
**/
|
||||||
CHAR8 *
|
CHAR8 *
|
||||||
|
EFIAPI
|
||||||
VariableGetBestLanguage (
|
VariableGetBestLanguage (
|
||||||
IN CONST CHAR8 *SupportedLanguages,
|
IN CONST CHAR8 *SupportedLanguages,
|
||||||
IN BOOLEAN Iso639Language,
|
IN BOOLEAN Iso639Language,
|
||||||
|
|
Loading…
Reference in New Issue