summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfscanf.c
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-10-14 11:18:21 +0000
committertjr <tjr@FreeBSD.org>2002-10-14 11:18:21 +0000
commit83b297f2f002d92fe29b8b6c4466b58491c60cd9 (patch)
tree91abecd893b916905cbb54d6b161023826a6cd18 /lib/libc/stdio/vfscanf.c
parentc952a2a492986a744ef73884b4e30f448f735c55 (diff)
downloadFreeBSD-src-83b297f2f002d92fe29b8b6c4466b58491c60cd9.zip
FreeBSD-src-83b297f2f002d92fe29b8b6c4466b58491c60cd9.tar.gz
Use a weak reference instead of a macro to make vfscanf an alias
for __vfscanf.
Diffstat (limited to 'lib/libc/stdio/vfscanf.c')
-rw-r--r--lib/libc/stdio/vfscanf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/stdio/vfscanf.c b/lib/libc/stdio/vfscanf.c
index 358c562..f6480f1 100644
--- a/lib/libc/stdio/vfscanf.c
+++ b/lib/libc/stdio/vfscanf.c
@@ -106,6 +106,8 @@ __FBSDID("$FreeBSD$");
static const u_char *__sccl(char *, const u_char *);
+__weak_reference(__vfscanf, vfscanf);
+
/*
* __vfscanf - MT-safe version
*/
OpenPOWER on IntegriCloud