mirror of https://github.com/acidanthera/audk.git
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:
parent
2344d341e1
commit
f826516d43
|
@ -32,6 +32,7 @@ typedef enum {
|
|||
VAR_ERROR_FLAG
|
||||
EFIAPI
|
||||
GetLastBootVarErrorFlag (
|
||||
VOID
|
||||
);
|
||||
|
||||
/**
|
||||
|
|
|
@ -186,6 +186,7 @@ BrotliGuidedSectionExtraction (
|
|||
EFI_STATUS
|
||||
EFIAPI
|
||||
BrotliDecompressLibConstructor (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
return ExtractGuidedSectionRegisterHandlers (
|
||||
|
|
|
@ -61,6 +61,7 @@ SECURITY2_INFO *mSecurity2Table = NULL;
|
|||
RETURN_STATUS
|
||||
EFIAPI
|
||||
ReallocateSecurityHandlerTable (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
//
|
||||
|
@ -301,6 +302,7 @@ ExecuteSecurityHandlers (
|
|||
RETURN_STATUS
|
||||
EFIAPI
|
||||
ReallocateSecurity2HandlerTable (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
//
|
||||
|
|
|
@ -207,6 +207,7 @@ LzmaArchGuidedSectionExtraction (
|
|||
EFI_STATUS
|
||||
EFIAPI
|
||||
LzmaArchDecompressLibConstructor (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
return ExtractGuidedSectionRegisterHandlers (
|
||||
|
|
|
@ -190,6 +190,7 @@ LzmaGuidedSectionExtraction (
|
|||
EFI_STATUS
|
||||
EFIAPI
|
||||
LzmaDecompressLibConstructor (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
return ExtractGuidedSectionRegisterHandlers (
|
||||
|
|
|
@ -1187,6 +1187,7 @@ Done:
|
|||
VAR_ERROR_FLAG
|
||||
EFIAPI
|
||||
GetLastBootVarErrorFlag (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
return mLastVarErrorFlag;
|
||||
|
|
|
@ -751,6 +751,7 @@ PopExpression (
|
|||
**/
|
||||
UINTN
|
||||
SaveExpressionEvaluationStackOffset (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
UINTN TempStackOffset;
|
||||
|
|
Loading…
Reference in New Issue