summaryrefslogtreecommitdiff
path: root/stdio-common/snprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/snprintf.c')
-rw-r--r--stdio-common/snprintf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/stdio-common/snprintf.c b/stdio-common/snprintf.c
index ba74466a8b..3e6950dc47 100644
--- a/stdio-common/snprintf.c
+++ b/stdio-common/snprintf.c
@@ -23,10 +23,7 @@
string FORMAT, writing no more than MAXLEN characters. */
/* VARARGS3 */
int
-__snprintf (s, maxlen, format)
- char *s;
- size_t maxlen;
- const char *format;
+__snprintf (char *s, size_t maxlen, const char *format, ...)
{
va_list arg;
int done;