mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
* stdio-common/sscanf.c: Use prototype defn with ... syntax.
* libio/swscanf.c: Likewise. * libio/swprintf.c: Likewise.
This commit is contained in:
parent
790eed83d1
commit
5fc728a23a
@ -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>.
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user