From 50c6a4d2d4d7ede07143c0cde9505938e5d43a5b Mon Sep 17 00:00:00 2001 From: Thomas Palmer Date: Thu, 29 Oct 2015 12:59:06 +0000 Subject: 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 Reviewed-by: Ard Biesheuvel git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18697 6f19259b-4bc3-4df7-8a09-765794883524 --- EmbeddedPkg/Ebl/Variable.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'EmbeddedPkg/Ebl/Variable.c') diff --git a/EmbeddedPkg/Ebl/Variable.c b/EmbeddedPkg/Ebl/Variable.c index f7627a8def..f440c48f16 100644 --- a/EmbeddedPkg/Ebl/Variable.c +++ b/EmbeddedPkg/Ebl/Variable.c @@ -1,6 +1,7 @@ /** @file * * Copyright (c) 2011, ARM Limited. All rights reserved. +* (C) Copyright 2015 Hewlett Packard Enterprise Development LP
* * This program and the accompanying materials * are licensed and made available under the terms and conditions of the BSD License @@ -17,6 +18,7 @@ #include EFI_STATUS +EFIAPI EblGetCmd ( IN UINTN Argc, IN CHAR8 **Argv @@ -79,6 +81,7 @@ EblGetCmd ( } EFI_STATUS +EFIAPI EblSetCmd ( IN UINTN Argc, IN CHAR8 **Argv -- cgit v1.2.3