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:
jljusten 2010-12-06 06:04:38 +00:00
parent 641370270f
commit e1adae6084
3 changed files with 3 additions and 0 deletions

View File

@ -753,6 +753,7 @@ GetLangFromSupportedLangCodes (
**/
CHAR8 *
EFIAPI
VariableGetBestLanguage (
IN CONST CHAR8 *SupportedLanguages,
IN BOOLEAN Iso639Language,

View File

@ -572,6 +572,7 @@ GetLangFromSupportedLangCodes (
**/
CHAR8 *
EFIAPI
VariableGetBestLanguage (
IN CONST CHAR8 *SupportedLanguages,
IN BOOLEAN Iso639Language,

View File

@ -1248,6 +1248,7 @@ GetLangFromSupportedLangCodes (
**/
CHAR8 *
EFIAPI
VariableGetBestLanguage (
IN CONST CHAR8 *SupportedLanguages,
IN BOOLEAN Iso639Language,