aboutsummaryrefslogtreecommitdiff
path: root/libio/swprintf.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-05 19:58:20 +0000
committerRoland McGrath <roland@gnu.org>2003-03-05 19:58:20 +0000
commit5fc728a23a4e7c1527e6e2fd56a5082122a7963e (patch)
tree8d65b2c67768a94348b7c9aebc74e62a30d78c0e /libio/swprintf.c
parent790eed83d16363ef9d1241f366e0f3559b7f5c90 (diff)
downloadglibc-5fc728a23a4e7c1527e6e2fd56a5082122a7963e.zip
glibc-5fc728a23a4e7c1527e6e2fd56a5082122a7963e.tar.gz
glibc-5fc728a23a4e7c1527e6e2fd56a5082122a7963e.tar.bz2
* stdio-common/sscanf.c: Use prototype defn with ... syntax.
* libio/swscanf.c: Likewise. * libio/swprintf.c: Likewise.
Diffstat (limited to 'libio/swprintf.c')
-rw-r--r--libio/swprintf.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libio/swprintf.c b/libio/swprintf.c
index 923ae88..298c1e7 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;