From e7275d3ffd410943479a9658707ab04d3e9f75ba Mon Sep 17 00:00:00 2001 From: "Song, BinX" Date: Fri, 10 Nov 2017 12:11:35 +0800 Subject: ShellPkg: Fix MSFT C4255 warning V2: Fix MSFT C4255 warning V1: Enable MSFT C4255 warning. From MSDN: Compiler Warning (level 4) C4255 function' : no function prototype given: converting '()' to '(void)' The compiler did not find an explicit list of arguments to a function. This warning is for the C compiler only. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bell Song Reviewed-by: Liming Gao Reviewed-by: Jaben Carsey --- ShellPkg/Application/Shell/Shell.c | 1 + ShellPkg/Application/Shell/ShellProtocol.c | 2 ++ 2 files changed, 3 insertions(+) (limited to 'ShellPkg/Application') diff --git a/ShellPkg/Application/Shell/Shell.c b/ShellPkg/Application/Shell/Shell.c index 656206f..2adc992 100644 --- a/ShellPkg/Application/Shell/Shell.c +++ b/ShellPkg/Application/Shell/Shell.c @@ -726,6 +726,7 @@ FreeResources: **/ EFI_STATUS SetBuiltInAlias( + VOID ) { EFI_STATUS Status; diff --git a/ShellPkg/Application/Shell/ShellProtocol.c b/ShellPkg/Application/Shell/ShellProtocol.c index 5e34b8d..dc3deee 100644 --- a/ShellPkg/Application/Shell/ShellProtocol.c +++ b/ShellPkg/Application/Shell/ShellProtocol.c @@ -1679,6 +1679,7 @@ InternalShellExecute( STATIC BOOLEAN NestingEnabled( + VOID ) { EFI_STATUS Status; @@ -3286,6 +3287,7 @@ EfiShellIsRootShell( **/ CHAR16 * InternalEfiShellGetListAlias( + VOID ) { -- cgit v1.1