summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg/Include
diff options
context:
space:
mode:
authorThomas Palmer <thomas.palmer@hpe.com>2015-10-29 12:59:06 +0000
committerabiesheuvel <abiesheuvel@Edk2>2015-10-29 12:59:06 +0000
commit50c6a4d2d4d7ede07143c0cde9505938e5d43a5b (patch)
tree8493ee264035ed30c17c735f589a49575b12f5e3 /EmbeddedPkg/Include
parent419a271d2e2c2f1903e139892de64fd109b7c99b (diff)
downloadedk2-50c6a4d2d4d7ede07143c0cde9505938e5d43a5b.tar.gz
edk2-50c6a4d2d4d7ede07143c0cde9505938e5d43a5b.tar.bz2
edk2-50c6a4d2d4d7ede07143c0cde9505938e5d43a5b.zip
EmbeddedPkg: Add EFIAPI to several Ebl functions
The EFIAPI function declaration is missing for several functions in the EmbeddedPkg/Ebl directory. A few function pointer struct members expect EFIAPI though and GCC46/X64 will fail to compile the directory without them. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Thomas Palmer <thomas.palmer@hpe.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18697 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmbeddedPkg/Include')
-rw-r--r--EmbeddedPkg/Include/Library/EblCmdLib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/EmbeddedPkg/Include/Library/EblCmdLib.h b/EmbeddedPkg/Include/Library/EblCmdLib.h
index 5df71e634a..2a8a66c016 100644
--- a/EmbeddedPkg/Include/Library/EblCmdLib.h
+++ b/EmbeddedPkg/Include/Library/EblCmdLib.h
@@ -3,6 +3,7 @@
Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
+ (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -22,11 +23,13 @@
VOID
+EFIAPI
EblAddCommand (
IN const EBL_COMMAND_TABLE *Entry
);
VOID
+EFIAPI
EblAddCommands (
IN const EBL_COMMAND_TABLE *EntryArray,
IN UINTN ArrayCount