musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/stdio/vfwscanf.c
diff options
context:
space:
mode:
authorIsaac Dunham <idunham@lavabit.com>2013年04月05日 23:20:28 -0700
committerIsaac Dunham <idunham@lavabit.com>2013年04月05日 23:20:28 -0700
commit14f0272ea1775c35801b2bc17e67ef8bb7e9742d (patch)
tree4e4f0d51e1b4f6b90a79968ef24941f182d4b325 /src/stdio/vfwscanf.c
parentced64995c26a28ae40c5ae356b6c6a87a3bdf5ce (diff)
downloadmusl-14f0272ea1775c35801b2bc17e67ef8bb7e9742d.tar.gz
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.
Diffstat (limited to 'src/stdio/vfwscanf.c')
-rw-r--r--src/stdio/vfwscanf.c 3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stdio/vfwscanf.c b/src/stdio/vfwscanf.c
index b3bc6f3a..44910b4c 100644
--- a/src/stdio/vfwscanf.c
+++ b/src/stdio/vfwscanf.c
@@ -14,6 +14,7 @@
#include "shgetc.h"
#include "intscan.h"
#include "floatscan.h"
+#include "libc.h"
#define SIZE_hh -2
#define SIZE_h -1
@@ -308,3 +309,5 @@ match_fail:
FUNLOCK(f);
return matches;
}
+
+weak_alias(vfwscanf,__isoc99_vfwscanf);
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月06日 14:52:23 +0000

AltStyle によって変換されたページ (->オリジナル) /