summaryrefslogtreecommitdiff
path: root/DuetPkg
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-12-06 06:04:38 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-12-06 06:04:38 +0000
commite1adae6084df21ca30aae2fa23abbbe30f588b20 (patch)
tree07456e54c2bd49186867a29ce09c748820a30098 /DuetPkg
parent641370270f9b0386ca273c187bde8e6083c7cb98 (diff)
downloadedk2-platforms-e1adae6084df21ca30aae2fa23abbbe30f588b20.tar.xz
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
Diffstat (limited to 'DuetPkg')
-rw-r--r--DuetPkg/FSVariable/FSVariable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/DuetPkg/FSVariable/FSVariable.c b/DuetPkg/FSVariable/FSVariable.c
index 70da3907b8..9a50cca72b 100644
--- a/DuetPkg/FSVariable/FSVariable.c
+++ b/DuetPkg/FSVariable/FSVariable.c
@@ -753,6 +753,7 @@ GetLangFromSupportedLangCodes (
**/
CHAR8 *
+EFIAPI
VariableGetBestLanguage (
IN CONST CHAR8 *SupportedLanguages,
IN BOOLEAN Iso639Language,