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:
Song, BinX 2017-11-10 12:11:11 +08:00 committed by Liming Gao
parent f826516d43
commit 50de6bfb30
3 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,7 @@
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
**/
void __debugbreak ();
void __debugbreak (VOID);
#pragma intrinsic(__debugbreak)

View File

@ -17,7 +17,7 @@
Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.
**/
void __debugbreak ();
void __debugbreak (VOID);
#pragma intrinsic(__debugbreak)

View File

@ -38,6 +38,7 @@ EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER *mExtractGetInfoHandlerTable = NULL;
RETURN_STATUS
EFIAPI
ReallocateExtractHandlerTable (
VOID
)
{
//