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/vswscanf.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/stdio/vswscanf.c') diff --git a/src/stdio/vswscanf.c b/src/stdio/vswscanf.c index 7a2f7c7a..411dd39c 100644 --- a/src/stdio/vswscanf.c +++ b/src/stdio/vswscanf.c @@ -1,4 +1,5 @@ #include "stdio_impl.h" +#include "libc.h" #include static size_t wstring_read(FILE *f, unsigned char *buf, size_t len) @@ -34,3 +35,5 @@ int vswscanf(const wchar_t *restrict s, const wchar_t *restrict fmt, va_list ap) }; return vfwscanf(&f, fmt, ap); } + +weak_alias(vswscanf,__isoc99_vswscanf); -- cgit v1.2.1