--- ray/src/common/standard.h 2003/06/20 00:25:49 2.27 +++ ray/src/common/standard.h 2003/06/21 14:48:54 2.29 @@ -1,4 +1,4 @@ -/* RCSid $Id: standard.h,v 2.27 2003/06/20 00:25:49 greg Exp $ */ +/* RCSid $Id: standard.h,v 2.29 2003/06/21 14:48:54 greg Exp $ */ /* * Miscellaneous definitions required by many routines. */ @@ -78,7 +78,7 @@ extern char errmsg[]; /* global buffer for error me #define tsin sin #define ttan tan #else -extern double tcos(); /* table-based cosine approximation */ + /* table-based cosine approximation */ #define tsin(x) tcos((x)-(PI/2.)) #define ttan(x) (tsin(x)/tcos(x)) #endif @@ -103,7 +103,9 @@ extern double tcos(); /* table-based cosine approxim #define index strchr #define rindex strrchr #endif -extern off_t lseek(); + + /* is missing on some systems */ +extern off_t lseek(int, off_t, int); #ifdef _WIN32 #define NIX 1