348 |
|
void *p |
349 |
|
) |
350 |
|
{ |
351 |
< |
char fmt[32]; |
351 |
> |
char fmt[MAXFMTLEN]; |
352 |
|
|
353 |
|
fputs(s, stdout); /* copy to output */ |
354 |
|
if (isaspect(s)) /* get aspect ratio */ |
371 |
|
|
372 |
|
static void |
373 |
|
copyfile( /* copy a file */ |
374 |
< |
register FILE *in, |
375 |
< |
register FILE *out |
374 |
> |
FILE *in, |
375 |
> |
FILE *out |
376 |
|
) |
377 |
|
{ |
378 |
< |
register int c; |
378 |
> |
int c; |
379 |
|
|
380 |
|
while ((c = getc(in)) != EOF) |
381 |
|
putc(c, out); |
480 |
|
{ |
481 |
|
COLOR ctmp; |
482 |
|
double d; |
483 |
< |
register int i; |
483 |
> |
int i; |
484 |
|
|
485 |
|
xbrad = xres/ncols/2 + 1; |
486 |
|
ybrad = yres/nrows/2 + 1; |
561 |
|
static int nextrow = 0; |
562 |
|
COLOR ctmp; |
563 |
|
int ybot; |
564 |
< |
register int c; |
564 |
> |
int c; |
565 |
|
/* average input scanlines */ |
566 |
|
while (nextrow <= r+orad && nextrow < nrows) { |
567 |
|
ybot = (nextrow+.5)*yres/nrows; |
584 |
|
static void |
585 |
|
scan2flush(void) /* flush output buffer */ |
586 |
|
{ |
587 |
< |
register int r; |
587 |
> |
int r; |
588 |
|
|
589 |
|
for (r = nrows-orad; r < nrows; r++) |
590 |
|
if (fwritescan(scoutbar[r%obarsize], ncols, stdout) < 0) |