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

Comparing ray/src/common/calexpr.c (file contents):
Revision 1.3 by greg, Wed Jun 14 22:29:01 1989 UTC vs.
Revision 1.5 by greg, Tue Jun 26 09:15:11 1990 UTC

# Line 39 | Line 39 | extern double  atof(), pow();
39   extern char  *fgets(), *savestr();
40   extern char  *emalloc(), *ecalloc();
41   extern EPNODE  *curfunc;
42 < extern double  efunc(), evariable(), enumber(), euminus(), echannel();
43 < extern double  eargument(), eadd(), esubtr(), emult(), edivi(), epow();
44 < extern double  ebotch();
42 > extern double  efunc(), evariable();
43 > static double  euminus(), echannel(), eargument(), enumber();
44 > static double  eadd(), esubtr(), emult(), edivi(), epow();
45 > static double  ebotch();
46   extern int  errno;
47  
48   int  nextc;                             /* lookahead character */
# Line 349 | Line 350 | char  *err;
350      register int  i;
351  
352      eputs(linbuf);
353 <    if (linbuf[0] == '\0' || linbuf[strlen(linbuf)-1] != '\n')
353 >    if (linbuf[strlen(linbuf)-1] != '\n')
354          eputs("\n");
355      for (i = 0; i < linepos-1; i++)
356          eputs(linbuf[i] == '\t' ? "\t" : " ");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines