MdeModulePkg: 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>
This commit is contained in:
Song, BinX 2017-11-10 12:11:02 +08:00 committed by Liming Gao
parent 2344d341e1
commit f826516d43
7 changed files with 8 additions and 0 deletions

View File

@ -32,6 +32,7 @@ typedef enum {
VAR_ERROR_FLAG
EFIAPI
GetLastBootVarErrorFlag (
VOID
);
/**

View File

@ -186,6 +186,7 @@ BrotliGuidedSectionExtraction (
EFI_STATUS
EFIAPI
BrotliDecompressLibConstructor (
VOID
)
{
return ExtractGuidedSectionRegisterHandlers (

View File

@ -61,6 +61,7 @@ SECURITY2_INFO *mSecurity2Table = NULL;
RETURN_STATUS
EFIAPI
ReallocateSecurityHandlerTable (
VOID
)
{
//
@ -301,6 +302,7 @@ ExecuteSecurityHandlers (
RETURN_STATUS
EFIAPI
ReallocateSecurity2HandlerTable (
VOID
)
{
//

View File

@ -207,6 +207,7 @@ LzmaArchGuidedSectionExtraction (
EFI_STATUS
EFIAPI
LzmaArchDecompressLibConstructor (
VOID
)
{
return ExtractGuidedSectionRegisterHandlers (

View File

@ -190,6 +190,7 @@ LzmaGuidedSectionExtraction (
EFI_STATUS
EFIAPI
LzmaDecompressLibConstructor (
VOID
)
{
return ExtractGuidedSectionRegisterHandlers (

View File

@ -1187,6 +1187,7 @@ Done:
VAR_ERROR_FLAG
EFIAPI
GetLastBootVarErrorFlag (
VOID
)
{
return mLastVarErrorFlag;

View File

@ -751,6 +751,7 @@ PopExpression (
**/
UINTN
SaveExpressionEvaluationStackOffset (
VOID
)
{
UINTN TempStackOffset;