--- ray/src/rt/func.c 2004/03/30 16:13:01 2.22 +++ ray/src/rt/func.c 2011/02/22 16:45:12 2.24 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: func.c,v 2.22 2004/03/30 16:13:01 schorsch Exp $"; +static const char RCSid[] = "$Id: func.c,v 2.24 2011/02/22 16:45:12 greg Exp $"; #endif /* * func.c - interface to calcomp functions. @@ -7,8 +7,6 @@ static const char RCSid[] = "$Id: func.c,v 2.22 2004/0 #include "copyright.h" -#include - #include "ray.h" #include "paths.h" #include "otypes.h" @@ -173,7 +171,7 @@ setfunc( /* set channels for function call */ register RAY *r ) { - static unsigned long lastrno = ~0; + static RNUMBER lastrno = ~0; register MFUNC *f; /* get function */ if ((f = (MFUNC *)m->os) == NULL)