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

Comparing ray/src/px/ra_pr.c (file contents):
Revision 2.5 by greg, Sun Feb 27 10:17:12 1994 UTC vs.
Revision 2.6 by greg, Sat Feb 22 02:07:28 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1991 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   *  ra_pr.c - program to convert between RADIANCE and pixrect picture format.
6   *
# Line 15 | Line 12 | static char SCCSid[] = "$SunId$ LBL";
12  
13   #include  <math.h>
14  
15 + #include  <time.h>
16 +
17   #include  "rasterfile.h"
18  
19   #include  "color.h"
# Line 169 | Line 168 | char  *err;
168   }
169  
170  
171 + void
172   eputs(s)
173   char *s;
174   {
# Line 176 | Line 176 | char *s;
176   }
177  
178  
179 + void
180   quit(code)
181   int code;
182   {
# Line 276 | Line 277 | struct rasterfile  *h;
277                  if (fwritecolrs(scanline, xmax, stdout) < 0)
278                          quiterr("error writing RADIANCE file");
279          }
280 <        free((char *)scanline);
280 >        free((void *)scanline);
281   }
282  
283  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines