summaryrefslogtreecommitdiffstats
path: root/FatPkg
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2013-11-04 02:20:37 +0000
committerJordan Justen <jordan.l.justen@intel.com>2016-04-06 23:22:43 -0700
commit833b5a77a3a8faf5247a609d4edbfec7586c0b85 (patch)
tree2cc00b8170af6f57d4be0a5a0f8705b9006bdc3b /FatPkg
parent149d633529cc3105474f392215cc188741fb6617 (diff)
downloadedk2-833b5a77a3a8faf5247a609d4edbfec7586c0b85.tar.gz
edk2-833b5a77a3a8faf5247a609d4edbfec7586c0b85.tar.bz2
edk2-833b5a77a3a8faf5247a609d4edbfec7586c0b85.zip
Add the missing EFIAPI keyword to solve build failure in GCC.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> (based on FatPkg commit accbbb1b8bc3590ba41d57d429bb94d2eca6ef52) [jordan.l.justen@intel.com: Use script to relicense to 2-clause BSD] Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Acked-by: Mark Doran <mark.doran@intel.com> Acked-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'FatPkg')
-rw-r--r--FatPkg/EnhancedFatDxe/Fat.h1
-rw-r--r--FatPkg/EnhancedFatDxe/Open.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/FatPkg/EnhancedFatDxe/Fat.h b/FatPkg/EnhancedFatDxe/Fat.h
index 6e6010dc50..ef1fd35e7e 100644
--- a/FatPkg/EnhancedFatDxe/Fat.h
+++ b/FatPkg/EnhancedFatDxe/Fat.h
@@ -425,6 +425,7 @@ Returns:
;
EFI_STATUS
+EFIAPI
FatOpenEx (
IN EFI_FILE_PROTOCOL *FHand,
OUT EFI_FILE_PROTOCOL **NewHandle,
diff --git a/FatPkg/EnhancedFatDxe/Open.c b/FatPkg/EnhancedFatDxe/Open.c
index 16badf6462..0519e54981 100644
--- a/FatPkg/EnhancedFatDxe/Open.c
+++ b/FatPkg/EnhancedFatDxe/Open.c
@@ -198,6 +198,7 @@ Returns:
}
EFI_STATUS
+EFIAPI
FatOpenEx (
IN EFI_FILE_PROTOCOL *FHand,
OUT EFI_FILE_PROTOCOL **NewHandle,