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

Comparing ray/src/px/ra_t8.c (file contents):
Revision 2.9 by greg, Fri Nov 10 17:04:52 1995 UTC vs.
Revision 2.10 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   *  ra_t8.c - program to convert between RADIANCE and
6   *              Targa 8-bit color-mapped images.
# Line 13 | Line 10 | static char SCCSid[] = "$SunId$ LBL";
10  
11   #include  <stdio.h>
12  
13 + #include  <time.h>
14 +
15   #include  "color.h"
16  
17   #include  "resolu.h"
# Line 194 | Line 193 | char  *err;
193   }
194  
195  
196 + void
197   eputs(s)
198   char *s;
199   {
# Line 201 | Line 201 | char *s;
201   }
202  
203  
204 + void
205   quit(code)
206   int code;
207   {
# Line 343 | Line 344 | struct hdStruct         *hp;
344                  if (fwritecolrs(scanline, xmax, stdout) < 0)
345                          quiterr("error writing RADIANCE file");
346          }
347 <        free((char *)scanline);
348 <        free((char *)tarData);
347 >        free((void *)scanline);
348 >        free((void *)tarData);
349   }
350  
351  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines