--- ray/src/common/fgetval.c 2003/06/27 06:53:21 2.6 +++ ray/src/common/fgetval.c 2004/03/28 20:33:12 2.8 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: fgetval.c,v 2.6 2003/06/27 06:53:21 greg Exp $"; +static const char RCSid[] = "$Id: fgetval.c,v 2.8 2004/03/28 20:33:12 schorsch Exp $"; #endif /* * Read white space separated values from stream @@ -9,6 +9,7 @@ static const char RCSid[] = "$Id: fgetval.c,v 2.6 2003 #include "rtio.h" +#include #include #include @@ -16,7 +17,7 @@ int fgetval(fp, ty, vp) /* get specified data word */ register FILE *fp; int ty; -char *vp; +void *vp; /* type depends on ty */ { char wrd[64]; register char *cp;