mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-27 11:54:24 +08:00
crt: Avoid warnings about ucrt _scprintf/_snprintf/_snscanf missing a prototype
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
cff4b8fda1
commit
819a6ec2ea
@ -6,10 +6,8 @@
|
||||
|
||||
#undef __MSVCRT_VERSION__
|
||||
#define _UCRT
|
||||
#define _scprintf real__scprintf
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#undef _scprintf
|
||||
|
||||
int __cdecl _scprintf(const char * __restrict__ _Format, ...)
|
||||
{
|
||||
|
@ -6,10 +6,8 @@
|
||||
|
||||
#undef __MSVCRT_VERSION__
|
||||
#define _UCRT
|
||||
#define _snprintf real__snprintf
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#undef _snprintf
|
||||
|
||||
int __cdecl _snprintf(char * __restrict__ _Dest, size_t _Count, const char * __restrict__ _Format, ...)
|
||||
{
|
||||
|
@ -6,10 +6,8 @@
|
||||
|
||||
#undef __MSVCRT_VERSION__
|
||||
#define _UCRT
|
||||
#define _snscanf real__snscanf
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#undef _snscanf
|
||||
|
||||
int __cdecl _snscanf(const char * __restrict__ _Src, size_t _MaxCount, const char * __restrict__ _Format, ...)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user