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

Comparing ray/src/px/ra_ppm.c (file contents):
Revision 2.8 by gwlarson, Wed Feb 10 08:43:41 1999 UTC vs.
Revision 2.9 by greg, Sat Feb 22 02:07:28 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1992 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   *  program to convert between RADIANCE and Poskanzer Pixmaps
6   */
# Line 18 | Line 15 | static char SCCSid[] = "$SunId$ LBL";
15  
16   #include  <ctype.h>
17  
18 + #include  <time.h>
19 +
20   #include  "color.h"
21  
22   #include  "resolu.h"
23  
24  
26 extern char  *malloc();
27
25   int  agryscan(), bgryscan(), aclrscan(), bclrscan();
26   int  agryscan2(), bgryscan2(), aclrscan2(), bclrscan2();
27   int  normval();
# Line 212 | Line 209 | int  (*getscan)();
209                          quiterr("error writing Radiance picture");
210          }
211                                                  /* free scanline */
212 <        free((char *)scanout);
212 >        free((void *)scanout);
213   }
214  
215  
# Line 258 | Line 255 | int  binary, grey;
255                          quiterr("error writing Pixmap");
256          }
257                                                  /* free scanline */
258 <        free((char *)scanin);
258 >        free((void *)scanin);
259   }
260  
261  
# Line 293 | Line 290 | int  (*getscan)();
290                          quiterr("error writing Radiance picture");
291          }
292                                                  /* free scanline */
293 <        free((char *)scanout);
293 >        free((void *)scanout);
294   }
295  
296  
# Line 357 | Line 354 | int  binary, grey;
354                          quiterr("error writing Pixmap");
355          }
356                                                  /* free scanline */
357 <        free((char *)scanin);
357 >        free((void *)scanin);
358   }
359  
360  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines