| 31 |
|
static OBJREC *fobj = NULL; /* current function object */ |
| 32 |
|
static RAY *fray = NULL; /* current function ray */ |
| 33 |
|
|
| 34 |
< |
static double l_erf(), l_erfc(), l_arg(); |
| 34 |
> |
static double l_erf(char *), l_erfc(char *), l_arg(char *); |
| 35 |
|
|
| 36 |
|
|
| 37 |
|
MFUNC * |
| 185 |
|
funcxf.sca = r->rox->b.sca * f->b->sca; |
| 186 |
|
multmat4(funcxf.xfm, r->rox->b.xfm, f->b->xfm); |
| 187 |
|
} else |
| 188 |
< |
copystruct(&funcxf, &r->rox->b); |
| 188 |
> |
funcxf = r->rox->b; |
| 189 |
|
else |
| 190 |
< |
copystruct(&funcxf, f->b); |
| 190 |
> |
funcxf = *(f->b); |
| 191 |
|
lastrno = r->rno; |
| 192 |
|
eclock++; /* notify expression evaluator */ |
| 193 |
|
return(1); |
| 200 |
|
{ |
| 201 |
|
char *ffname; |
| 202 |
|
|
| 203 |
< |
if ((ffname = getpath(fname, getlibpath(), R_OK)) == NULL) { |
| 203 |
> |
if ((ffname = getpath(fname, getrlibpath(), R_OK)) == NULL) { |
| 204 |
|
sprintf(errmsg, "cannot find function file \"%s\"", fname); |
| 205 |
|
error(USER, errmsg); |
| 206 |
|
} |
| 209 |
|
|
| 210 |
|
|
| 211 |
|
static double |
| 212 |
< |
l_arg() /* return nth real argument */ |
| 212 |
> |
l_arg(char *nm) /* return nth real argument */ |
| 213 |
|
{ |
| 214 |
|
register int n; |
| 215 |
|
|
| 230 |
|
|
| 231 |
|
|
| 232 |
|
static double |
| 233 |
< |
l_erf() /* error function */ |
| 233 |
> |
l_erf(char *nm) /* error function */ |
| 234 |
|
{ |
| 235 |
|
extern double erf(); |
| 236 |
|
|
| 239 |
|
|
| 240 |
|
|
| 241 |
|
static double |
| 242 |
< |
l_erfc() /* cumulative error function */ |
| 242 |
> |
l_erfc(char *nm) /* cumulative error function */ |
| 243 |
|
{ |
| 244 |
|
extern double erfc(); |
| 245 |
|
|