improved layout

This commit is contained in:
ceriel
1988-04-25 16:17:29 +00:00
parent ca8e3270fc
commit 375b6fb802
6 changed files with 63 additions and 49 deletions

View File

@@ -3,15 +3,17 @@
#include <varargs.h>
printf(va_alist)
va_dcl
va_dcl
{
char *fmt;
va_list ap;
va_start(ap);
fmt = va_arg(ap, char *);
_doprnt (fmt, ap, stdout);
if ( io_testflag(stdout,IO_PERPRINTF) )
fflush(stdout);
{
char *fmt = va_arg(ap, char *);
_doprnt (fmt, ap, stdout);
if ( io_testflag(stdout,IO_PERPRINTF) )
fflush(stdout);
}
va_end(ap);
}