From 61e4ad4901b23e7dc21bd8fda0f81fc3b283389e Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 15 Aug 2020 15:26:09 -0400 Subject: implement --- src/wchar/swscanf.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/wchar/swscanf.c b/src/wchar/swscanf.c index 2f10842a..dcb59728 100644 --- a/src/wchar/swscanf.c +++ b/src/wchar/swscanf.c @@ -1,17 +1,18 @@ +#include #include -#include "stdarg.h" + +#if __STDC_VERSION__ < 199901L +#define vswscanf __vswscanf +#include "vswscanf.c" +#endif int swscanf(const wchar_t * restrict s, const wchar_t * restrict format, ...) { - /* va_list ap; va_start(ap, format); int ret = vswscanf(s, format, ap); va_end(ap); return ret; - */ - (void)s; (void)format; - return -1; } /* -- cgit v1.2.1