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

Comparing ray/src/cal/calc.c (file contents):
Revision 1.8 by greg, Thu Dec 19 16:56:31 2013 UTC vs.
Revision 1.9 by greg, Thu Feb 9 21:54:10 2023 UTC

# Line 25 | Line 25 | int  recover = 0;
25  
26  
27   int
28 < main(argc, argv)
29 < int  argc;
30 < char  *argv[];
28 > main(int argc, char *argv[])
29   {
30          char  expr[2048];
31          char  *epos;
# Line 155 | Line 153 | int  n;
153  
154  
155   void
156 < eputs(msg)
159 < char  *msg;
156 > eputs(const char *msg)
157   {
158          fputs(msg, stderr);
159   }
160  
161  
162   void
163 < wputs(msg)
167 < char  *msg;
163 > wputs(const char *msg)
164   {
165          eputs(msg);
166   }
167  
168  
169   void
170 < quit(code)
175 < int  code;
170 > quit(int code)
171   {
172          if (recover)                    /* a cavalier approach */
173                  longjmp(env, 1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines