--- ray/src/util/glarendx.c 1994/03/24 11:06:59 2.4 +++ ray/src/util/glarendx.c 1998/10/27 08:47:17 2.6 @@ -25,7 +25,6 @@ static char SCCSid[] = "$SunId$ LBL"; #include "standard.h" #include "view.h" -extern double erfc(); double posindex(); @@ -128,6 +127,7 @@ userr: } +int headline(s) /* get line from header */ char *s; { @@ -141,6 +141,7 @@ char *s; formatval(fmt, s); wrongformat = strcmp(fmt, "ascii"); } + return(0); } @@ -407,8 +408,6 @@ struct glare_dir *gd; } -extern double erf(), erfc(); - #ifndef M_SQRT2 #define M_SQRT2 1.41421356237309504880 #endif @@ -420,6 +419,7 @@ double guth_vcp(gd) /* compute Guth visual comfort probability */ struct glare_dir *gd; { + extern double erfc(); double dgr; dgr = guth_dgr(gd);