summaryrefslogtreecommitdiff
path: root/stdio-common/asprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/asprintf.c')
-rw-r--r--stdio-common/asprintf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/stdio-common/asprintf.c b/stdio-common/asprintf.c
index 85ab7b1041..dd9eec5ba1 100644
--- a/stdio-common/asprintf.c
+++ b/stdio-common/asprintf.c
@@ -27,9 +27,7 @@ Cambridge, MA 02139, USA. */
allocated with malloc and stored in *STRING_PTR. */
/* VARARGS2 */
int
-asprintf (string_ptr, format)
- char **string_ptr;
- const char *format;
+asprintf (char **string_ptr, const char *format, ...)
{
va_list arg;
int done;