4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-26 09:07:34 +08:00
Sebastian Huber bd95aa4d33 newlib: Remove superfluous CHECK_STD_INIT() macro
This macro is unused or expands to nothing.
2022-04-01 18:17:59 +02:00

34 lines
463 B
C

#include <_ansi.h>
#include <stdio.h>
#include "c99ppe.h"
#include <stdarg.h>
#ifdef INTEGER_ONLY
# define vprintf viprintf
#endif
typedef struct
{
const char* fmt;
unsigned int pad0[ 3 ];
va_list ap;
} c99_vprintf_t;
#ifndef _REENT_ONLY
int
vprintf (const char *fmt,
va_list ap)
{
c99_vprintf_t args;
args.fmt = fmt;
va_copy(args.ap,ap);
return __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_VPRINTF, &args);
}
#endif /* ! _REENT_ONLY */