diff options
author | Roland McGrath <roland@gnu.org> | 2003-03-05 19:58:20 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-03-05 19:58:20 +0000 |
commit | 5fc728a23a4e7c1527e6e2fd56a5082122a7963e (patch) | |
tree | 8d65b2c67768a94348b7c9aebc74e62a30d78c0e | |
parent | 790eed83d16363ef9d1241f366e0f3559b7f5c90 (diff) | |
download | glibc-5fc728a23a4e7c1527e6e2fd56a5082122a7963e.tar.gz glibc-5fc728a23a4e7c1527e6e2fd56a5082122a7963e.tar.xz glibc-5fc728a23a4e7c1527e6e2fd56a5082122a7963e.zip |
* stdio-common/sscanf.c: Use prototype defn with ... syntax.
* libio/swscanf.c: Likewise. * libio/swprintf.c: Likewise.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | libio/swprintf.c | 8 | ||||
-rw-r--r-- | libio/swscanf.c | 6 | ||||
-rw-r--r-- | stdio-common/sscanf.c | 6 |
4 files changed, 13 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog index 2b7f720f06..8d41ebab0a 100644 --- 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>. diff --git a/libio/swprintf.c b/libio/swprintf.c index 923ae8875b..298c1e7537 100644 --- a/libio/swprintf.c +++ b/libio/swprintf.c @@ -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 @@ -22,10 +23,7 @@ /* 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; diff --git a/libio/swscanf.c b/libio/swscanf.c index 7f817caf0b..c837ad14f6 100644 --- a/libio/swscanf.c +++ b/libio/swscanf.c @@ -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; diff --git a/stdio-common/sscanf.c b/stdio-common/sscanf.c index 26d8742d09..ed4cb1d3a1 100644 --- a/stdio-common/sscanf.c +++ b/stdio-common/sscanf.c @@ -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; |