From 14f0272ea1775c35801b2bc17e67ef8bb7e9742d Mon Sep 17 00:00:00 2001 From: Isaac Dunham Date: Fri, 5 Apr 2013 23:20:28 -0700 Subject: Add ABI compatability aliases. GNU used several extensions that were incompatible with C99 and POSIX, so they used alternate names for the standard functions. The result is that we need these to run standards-conformant programs that were linked with glibc. --- src/stdio/wscanf.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/stdio/wscanf.c') diff --git a/src/stdio/wscanf.c b/src/stdio/wscanf.c index a207cc1b..80412252 100644 --- a/src/stdio/wscanf.c +++ b/src/stdio/wscanf.c @@ -1,6 +1,7 @@ #include #include #include +#include "libc.h" int wscanf(const wchar_t *restrict fmt, ...) { @@ -11,3 +12,5 @@ int wscanf(const wchar_t *restrict fmt, ...) va_end(ap); return ret; } + +weak_alias(wscanf,__isoc99_wscanf); -- cgit v1.2.1