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

Comparing ray/src/common/calprnt.c (file contents):
Revision 2.3 by greg, Tue Feb 25 02:47:21 2003 UTC vs.
Revision 2.6 by greg, Wed Oct 24 00:39:09 2012 UTC

# Line 9 | Line 9 | static const char      RCSid[] = "$Id$";
9  
10   #include  <stdio.h>
11  
12 + #include  "rterror.h"
13   #include  "calcomp.h"
14  
15  
16   void
17 < eprint(ep, fp)                  /* print a parse tree */
18 < register EPNODE  *ep;
19 < FILE  *fp;
17 > eprint(                         /* print a parse tree */
18 >        EPNODE  *ep,
19 >        FILE  *fp
20 > )
21   {
22      static EPNODE  *curdef = NULL;
23 <    register EPNODE  *ep1;
23 >    EPNODE  *ep1 = NULL;
24  
25      switch (ep->type) {
26  
# Line 100 | Line 102 | FILE  *fp;
102  
103  
104   void
105 < dprint(name, fp)                /* print a definition (all if no name) */
106 < char  *name;
107 < FILE  *fp;
105 > dprint(                 /* print a definition (all if no name) */
106 >        char  *name,
107 >        FILE  *fp
108 > )
109   {
110 <    register EPNODE  *ep;
110 >    EPNODE  *ep;
111      
112      if (name == NULL)
113          for (ep = dfirst(); ep != NULL; ep = dnext()) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines