crt: Avoid warnings about ucrt _scprintf/_snprintf/_snscanf missing a prototype

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2024-05-21 14:18:34 +03:00
parent cff4b8fda1
commit 819a6ec2ea
3 changed files with 0 additions and 6 deletions

View File

@ -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, ...)
{

View File

@ -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, ...)
{

View File

@ -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, ...)
{