about summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/vfprintf.c5
-rw-r--r--stdio-common/vfscanf.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c
index 9e855ded56..c73661973a 100644
--- a/stdio-common/vfprintf.c
+++ b/stdio-common/vfprintf.c
@@ -617,6 +617,11 @@ vfprintf (s, format, ap)
   return done;
 }
 
+#ifdef USE_IN_LIBIO
+#undef vfprintf
+strong_alias (_IO_vfprintf, vfprintf)
+#endif
+
 
 /* Handle an unknown format specifier.  This prints out a canonicalized
    representation of the format spec itself.  */
diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c
index a3c058495e..a0bb63281c 100644
--- a/stdio-common/vfscanf.c
+++ b/stdio-common/vfscanf.c
@@ -98,10 +98,7 @@ _IO_vfscanf (s, format, argptr, errp)
      int *errp;
 #else
 int
-__vfscanf (s, format, arg)
-     FILE *s;
-     const char *format;
-     va_list argptr;
+__vfscanf (FILE *s, const char *format, va_list argptr)
 #endif
 {
   va_list arg = (va_list) argptr;