]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* stdio-common/sscanf.c: Use prototype defn with ... syntax.
authorRoland McGrath <roland@gnu.org>
Wed, 5 Mar 2003 19:58:20 +0000 (19:58 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 5 Mar 2003 19:58:20 +0000 (19:58 +0000)
* libio/swscanf.c: Likewise.
* libio/swprintf.c: Likewise.

ChangeLog
libio/swprintf.c
libio/swscanf.c
stdio-common/sscanf.c

index 2b7f720f0670d6faeb367dd7bffbbebfb7603935..8d41ebab0a640fe1856a2094af3d410f7d69d96b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-03-05  Roland McGrath  <roland@redhat.com>
+
+       * stdio-common/sscanf.c: Use prototype defn with ... syntax.
+       * libio/swscanf.c: Likewise.
+       * libio/swprintf.c: Likewise.
+
 2003-03-04  Roland McGrath  <roland@redhat.com>
 
        * sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>.
index 923ae8875b0f8a46607f8a01fe004579018f9006..298c1e7537f23caf79d2c95c39070ec7dd3b68f1 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (C) 1991,1995,1997,1998,1999,2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1995,1997,1998,1999,2000,2003
+       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
 /* Write formatted output into S, according to the format string FORMAT.  */
 /* VARARGS3 */
 int
-swprintf (s, n, format)
-     wchar_t *s;
-     size_t n;
-     const wchar_t *format;
+swprintf (wchar_t *s, size_t n, const wchar_t *format, ...)
 {
   va_list arg;
   int done;
index 7f817caf0b7f212494bbdd2d06482df6c9b1c830..c837ad14f6eafbcaea845eed09adf64b31c08243 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1995,1996,1998,1999,2003 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
@@ -22,9 +22,7 @@
 /* Read formatted input from S, according to the format string FORMAT.  */
 /* VARARGS2 */
 int
-swscanf (s, format)
-     const wchar_t *s;
-     const wchar_t *format;
+swscanf (const wchar_t *s, const wchar_t *format, ...)
 {
   va_list arg;
   int done;
index 26d8742d09abc6bd9e7a976514d61abf23b365a9..ed4cb1d3a1d93ad237181b99fc892eb9a78426cc 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,95,96,98,2002 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1995,1996,1998,2002,2003 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
@@ -27,9 +27,7 @@
 /* Read formatted input from S, according to the format string FORMAT.  */
 /* VARARGS2 */
 int
-sscanf (s, format)
-     const char *s;
-     const char *format;
+sscanf (const char *s, const char *format, ...)
 {
   va_list arg;
   int done;