--- ray/src/common/savqstr.c 2003/05/15 05:13:35 2.6 +++ ray/src/common/savqstr.c 2003/07/30 10:11:06 2.9 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: savqstr.c,v 2.6 2003/05/15 05:13:35 greg Exp $"; +static const char RCSid[] = "$Id: savqstr.c,v 2.9 2003/07/30 10:11:06 schorsch Exp $"; #endif /* * Save unshared strings. @@ -11,9 +11,10 @@ static const char RCSid[] = "$Id: savqstr.c,v 2.6 2003 #include -extern void eputs(); -extern void quit(); +#include "rtio.h" +#include "rterror.h" + #if 1 char * @@ -30,7 +31,7 @@ register char *s; eputs("out of memory in savqstr"); quit(1); } - for (cp = newp; *cp++ = *s++; ) /* inline strcpy() */ + for (cp = newp; (*cp++ = *s++); ) /* inline strcpy() */ ; return(newp); /* return new location */ }