diff options
author | 2003-03-05 19:58:20 +0000 | |
---|---|---|
committer | 2003-03-05 19:58:20 +0000 | |
commit | 5fc728a23a4e7c1527e6e2fd56a5082122a7963e (patch) | |
tree | 8d65b2c67768a94348b7c9aebc74e62a30d78c0e /stdio-common | |
parent | * sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>. (diff) | |
download | glibc-5fc728a23a4e7c1527e6e2fd56a5082122a7963e.tar.xz glibc-5fc728a23a4e7c1527e6e2fd56a5082122a7963e.zip |
* stdio-common/sscanf.c: Use prototype defn with ... syntax.
* libio/swscanf.c: Likewise.
* libio/swprintf.c: Likewise.
Diffstat (limited to 'stdio-common')
-rw-r--r-- | stdio-common/sscanf.c | 6 |
1 files changed, 2 insertions, 4 deletions
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; |