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
|
VAR_ERROR_FLAG
|
||||||
EFIAPI
|
EFIAPI
|
||||||
GetLastBootVarErrorFlag (
|
GetLastBootVarErrorFlag (
|
||||||
|
VOID
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -186,6 +186,7 @@ BrotliGuidedSectionExtraction (
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
BrotliDecompressLibConstructor (
|
BrotliDecompressLibConstructor (
|
||||||
|
VOID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return ExtractGuidedSectionRegisterHandlers (
|
return ExtractGuidedSectionRegisterHandlers (
|
||||||
|
|
|
@ -61,6 +61,7 @@ SECURITY2_INFO *mSecurity2Table = NULL;
|
||||||
RETURN_STATUS
|
RETURN_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
ReallocateSecurityHandlerTable (
|
ReallocateSecurityHandlerTable (
|
||||||
|
VOID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
|
@ -301,6 +302,7 @@ ExecuteSecurityHandlers (
|
||||||
RETURN_STATUS
|
RETURN_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
ReallocateSecurity2HandlerTable (
|
ReallocateSecurity2HandlerTable (
|
||||||
|
VOID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
|
|
|
@ -207,6 +207,7 @@ LzmaArchGuidedSectionExtraction (
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
LzmaArchDecompressLibConstructor (
|
LzmaArchDecompressLibConstructor (
|
||||||
|
VOID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return ExtractGuidedSectionRegisterHandlers (
|
return ExtractGuidedSectionRegisterHandlers (
|
||||||
|
|
|
@ -190,6 +190,7 @@ LzmaGuidedSectionExtraction (
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
LzmaDecompressLibConstructor (
|
LzmaDecompressLibConstructor (
|
||||||
|
VOID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return ExtractGuidedSectionRegisterHandlers (
|
return ExtractGuidedSectionRegisterHandlers (
|
||||||
|
|
|
@ -1187,6 +1187,7 @@ Done:
|
||||||
VAR_ERROR_FLAG
|
VAR_ERROR_FLAG
|
||||||
EFIAPI
|
EFIAPI
|
||||||
GetLastBootVarErrorFlag (
|
GetLastBootVarErrorFlag (
|
||||||
|
VOID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return mLastVarErrorFlag;
|
return mLastVarErrorFlag;
|
||||||
|
|
|
@ -751,6 +751,7 @@ PopExpression (
|
||||||
**/
|
**/
|
||||||
UINTN
|
UINTN
|
||||||
SaveExpressionEvaluationStackOffset (
|
SaveExpressionEvaluationStackOffset (
|
||||||
|
VOID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
UINTN TempStackOffset;
|
UINTN TempStackOffset;
|
||||||
|
|
Loading…
Reference in New Issue