stdarg.3: Declare variables with different types in different lines
PATCH 1/1 stdarg.3: Declare variables with different types in different lines
Signed-off-by Alejandro Colomar <[email protected]>
--- man3/stdarg.3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
man3/stdarg.3 +2 -1
@@ -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)
Signature · 1 line
2.28.0
Quoted 4 lines · Alejandro Colomar
Signed-off-by Alejandro Colomar <[email protected]>--- man3/stdarg.3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Thanks, Alex. Patch applied.
Cheers,
Michael
Quoted 15 lines
man3/stdarg.3 +2
-1@@ -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)
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/