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

Comparing ray/src/common/standard.h (file contents):
Revision 2.18 by greg, Tue Mar 4 05:49:21 2003 UTC vs.
Revision 2.20 by greg, Thu Mar 27 04:16:33 2003 UTC

# Line 87 | Line 87 | extern double  tcos();                 /* table-based cosine approxim
87   #define  ttan(x)                (tsin(x)/tcos(x))
88   #endif
89                                          /* custom version of assert(3) */
90 < #define  CHECK(be,et,em)        ((be) ? error(et,em) : 0)
90 > #define  CHECK(be,et,em)        if (be) error(et,em) else
91   #ifdef  DEBUG
92   #define  DCHECK                 CHECK
93   #else
94 < #define  DCHECK(be,et,em)       0
94 > #define  DCHECK(be,et,em)       (void)0
95   #endif
96                                          /* memory operations */
97   #ifdef  NOSTRUCTASS
# Line 223 | Line 223 | extern int     readbuf(int fd, char *bpos, int siz);
223   extern int      writebuf(int fd, char *bpos, int siz);
224                                          /* defined in rexpr.c */
225   extern int      ecompile(char *sp, int iflg, int wflag);
226 < extern char     *expsave();
226 > extern char     *expsave(void);
227   extern void     expset(char *ep);
228   extern char     *eindex(char *sp);
229                                          /* defined in savestr.c */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines