ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/pfilt.c
(Generate patch)

Comparing ray/src/px/pfilt.c (file contents):
Revision 2.31 by greg, Fri Sep 3 21:18:15 2010 UTC vs.
Revision 2.32 by greg, Thu Jul 26 23:50:40 2018 UTC

# Line 371 | Line 371 | headline(                              /* process line from header */
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);
# Line 480 | Line 480 | scan2init(void)                        /* prepare scanline arrays */
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;
# Line 561 | Line 561 | scan2sync(                     /* synchronize grey averages and output s
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;
# Line 584 | Line 584 | scan2sync(                     /* synchronize grey averages and output s
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)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines