stdarg.3: Declare variables with different types in different lines

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Alejandro Colomar 2020-09-06 00:09:35 +02:00 committed by Michael Kerrisk
parent 0e00826840
commit 7ac7f6510b
1 changed files with 2 additions and 1 deletions

View File

@ -285,7 +285,8 @@ foo(char *fmt, ...) /* '...' is C syntax for a variadic function */
{
va_list ap;
int d;
char c, *s;
char c;
char *s;
va_start(ap, fmt);
while (*fmt)