mirror of https://github.com/acidanthera/audk.git
MdePkg: 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
f826516d43
commit
50de6bfb30
|
@ -19,7 +19,7 @@
|
|||
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
||||
**/
|
||||
|
||||
void __debugbreak ();
|
||||
void __debugbreak (VOID);
|
||||
|
||||
#pragma intrinsic(__debugbreak)
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
|
||||
**/
|
||||
|
||||
void __debugbreak ();
|
||||
void __debugbreak (VOID);
|
||||
|
||||
#pragma intrinsic(__debugbreak)
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER *mExtractGetInfoHandlerTable = NULL;
|
|||
RETURN_STATUS
|
||||
EFIAPI
|
||||
ReallocateExtractHandlerTable (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue