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.20 by gwlarson, Tue Oct 27 09:08:26 1998 UTC vs.
Revision 2.21 by greg, Sat Feb 22 02:07:27 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1996 Regents of the University of California */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ LBL";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   *  pfilt.c - program to post-process picture file.
6   *
# Line 19 | Line 16 | static char SCCSid[] = "$SunId$ LBL";
16  
17   #include  "view.h"
18  
22 #include  "resolu.h"
23
19   #include  "paths.h"
20  
21   extern float  *matchlamp();
# Line 92 | Line 87 | main(argc, argv)
87   int  argc;
88   char  **argv;
89   {
90 <        extern long  ftell();
96 <        extern int  quit(), headline();
90 >        extern int  headline();
91          FILE  *fin;
92          float  *lampcolor;
93          char  *lamptype = NULL;
# Line 205 | Line 199 | char  **argv;
199                          case 'm':
200                                  thresh = atof(argv[++i]);
201                                  if (rad <= FTINY)
202 <                                        rad = 1.0;
202 >                                        rad = 0.6;
203                                  break;
204                          case 'b':
205                                  rad = thresh = 0.0;
# Line 401 | Line 395 | FILE  *in;
395                  }
396                  pass1scan(scan, i);
397          }
398 <        free((char *)scan);
398 >        free((void *)scan);
399   }
400  
401  
# Line 573 | Line 567 | scan2flush()                   /* flush output buffer */
567   }
568  
569  
570 + void
571   quit(code)              /* remove temporary file and exit */
572   int  code;
573   {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines