--- ray/src/common/wordfile.c 1993/06/18 09:00:22 2.7 +++ ray/src/common/wordfile.c 2004/11/05 17:36:55 2.14 @@ -1,21 +1,29 @@ -/* Copyright (c) 1992 Regents of the University of California */ - #ifndef lint -static char SCCSid[] = "$SunId$ LBL"; +static const char RCSid[] = "$Id: wordfile.c,v 2.14 2004/11/05 17:36:55 greg Exp $"; #endif - /* * Load whitespace separated words from a file into an array. * Assume the passed pointer array is big enough to hold them all. + * + * External symbols declared in standard.h */ +#include "copyright.h" + #include +#include +#include +#include +#include +#include -#define NULL 0 +#include "platform.h" +#include "standard.h" -#define MAXFLEN 8192 /* file must be smaller than this */ -extern char *bmalloc(); +#ifndef MAXFLEN +#define MAXFLEN 16384 /* file must be smaller than this */ +#endif int