summaryrefslogtreecommitdiffstats
path: root/ShellPkg
diff options
context:
space:
mode:
authorSong, BinX <binx.song@intel.com>2017-11-10 12:11:35 +0800
committerLiming Gao <liming.gao@intel.com>2017-11-14 18:19:14 +0800
commite7275d3ffd410943479a9658707ab04d3e9f75ba (patch)
tree54581a5277d79a97dafa025651553fd0205d91a6 /ShellPkg
parent63393404f73a36a5d93034e224acf813fde964a1 (diff)
downloadedk2-e7275d3ffd410943479a9658707ab04d3e9f75ba.tar.gz
edk2-e7275d3ffd410943479a9658707ab04d3e9f75ba.tar.bz2
edk2-e7275d3ffd410943479a9658707ab04d3e9f75ba.zip
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 <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bell Song <binx.song@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'ShellPkg')
-rw-r--r--ShellPkg/Application/Shell/Shell.c1
-rw-r--r--ShellPkg/Application/Shell/ShellProtocol.c2
-rw-r--r--ShellPkg/Library/UefiShellLib/UefiShellLib.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/ShellPkg/Application/Shell/Shell.c b/ShellPkg/Application/Shell/Shell.c
index 656206fdce..2adc99240c 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 5e34b8dad1..dc3deee071 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
)
{
diff --git a/ShellPkg/Library/UefiShellLib/UefiShellLib.c b/ShellPkg/Library/UefiShellLib/UefiShellLib.c
index 25d3e33533..677791c67f 100644
--- a/ShellPkg/Library/UefiShellLib/UefiShellLib.c
+++ b/ShellPkg/Library/UefiShellLib/UefiShellLib.c
@@ -369,6 +369,7 @@ ShellLibDestructor (
EFI_STATUS
EFIAPI
ShellInitialize (
+ VOID
)
{
EFI_STATUS Status;