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

Comparing ray/src/cv/arch2rad.c (file contents):
Revision 2.1 by greg, Tue Nov 12 17:02:07 1991 UTC vs.
Revision 2.2 by greg, Sat Feb 22 02:07:23 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1990 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   * Convert Architrion file to Radiance
6   *
# Line 12 | Line 9 | static char SCCSid[] = "$SunId$ LBL";
9  
10   #include <stdio.h>
11  
12 + #include <stdlib.h>
13 +
14   #include "trans.h"
15  
16   #define DEFMAPFILE      "/usr/local/lib/ray/lib/arch.map"
# Line 348 | Line 347 | register BLOCK *bp;
347          if (bp->nopenings > 0) {
348                  for (i = 0; i < bp->nopenings; i++)
349                          doneid(&bp->opening[i].frame);
350 <                free((char *)bp->opening);
350 >                free((void *)bp->opening);
351          }
352          doneid(&bp->refid);
353   }
# Line 706 | Line 705 | FILE   *fp;
705   }
706  
707  
708 + void
709   eputs(s)
710   char    *s;
711   {
# Line 713 | Line 713 | char   *s;
713   }
714  
715  
716 + void
717   quit(code)
718   int     code;
719   {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines