summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg/Include
diff options
context:
space:
mode:
authorLeif Lindholm <leif.lindholm@linaro.org>2017-12-06 17:29:26 +0000
committerLeif Lindholm <leif.lindholm@linaro.org>2017-12-06 21:39:51 +0000
commitac811846f2db75335be74878a323d5602d595d79 (patch)
tree9585f4bd1433bf461ef0d5f8adb3aa65729f3181 /EmbeddedPkg/Include
parent80ee06cee70cec00a4674964c477f99e128e21e6 (diff)
downloadedk2-ac811846f2db75335be74878a323d5602d595d79.tar.gz
edk2-ac811846f2db75335be74878a323d5602d595d79.tar.bz2
edk2-ac811846f2db75335be74878a323d5602d595d79.zip
EmbeddedPkg: AndroidBootApp: fix clang compilation
Address an incorrect function prototype (using ; instead of ,) in AndroidBootImg.h. Also restructure code slightly to avoid a "may be used uninitialized" warning. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'EmbeddedPkg/Include')
-rw-r--r--EmbeddedPkg/Include/Protocol/AndroidBootImg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/EmbeddedPkg/Include/Protocol/AndroidBootImg.h b/EmbeddedPkg/Include/Protocol/AndroidBootImg.h
index 1c458d0255..cd3c42e858 100644
--- a/EmbeddedPkg/Include/Protocol/AndroidBootImg.h
+++ b/EmbeddedPkg/Include/Protocol/AndroidBootImg.h
@@ -33,8 +33,8 @@ EFI_STATUS
typedef
EFI_STATUS
(EFIAPI *ANDROID_BOOTIMG_UPDATE_DTB) (
- IN EFI_PHYSICAL_ADDRESS OrigDtbBase;
- OUT EFI_PHYSICAL_ADDRESS *NewDtbBase;
+ IN EFI_PHYSICAL_ADDRESS OrigDtbBase,
+ OUT EFI_PHYSICAL_ADDRESS *NewDtbBase
);
struct _ANDROID_BOOTIMG_PROTOCOL {