about summary refs log tree commit diff
path: root/libio/vscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/vscanf.c')
-rw-r--r--libio/vscanf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libio/vscanf.c b/libio/vscanf.c
index 78c30eefdf..477cbaee84 100644
--- a/libio/vscanf.c
+++ b/libio/vscanf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1997, 2002, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1997, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -37,4 +37,7 @@ _IO_vscanf (format, args)
 {
   return INTUSE(_IO_vfscanf) (_IO_stdin, format, args, NULL);
 }
-ldbl_weak_alias (_IO_vscanf, vscanf)
+
+#ifdef weak_alias
+weak_alias (_IO_vscanf, vscanf)
+#endif