--- ray/src/hd/rholo4.c 2003/06/27 06:53:22 3.31 +++ ray/src/hd/rholo4.c 2003/06/30 14:59:12 3.32 @@ -1,16 +1,17 @@ #ifndef lint -static const char RCSid[] = "$Id: rholo4.c,v 3.31 2003/06/27 06:53:22 greg Exp $"; +static const char RCSid[] = "$Id: rholo4.c,v 3.32 2003/06/30 14:59:12 schorsch Exp $"; #endif /* * Holodeck display process communication */ +#include +#include + #include "rholo.h" #include "rhdisp.h" #include "rtprocess.h" -#include - #ifndef HDSUF #define HDSUF ".hdi" #endif @@ -76,7 +77,7 @@ char *dname; } /* write out hologram grids & octrees */ for (i = 0; hdlist[i] != NULL; i++) { - bcopy((void *)hdlist[i], buf, sizeof(HDGRID)); + memcpy(buf, (void *)hdlist[i], sizeof(HDGRID)); len = sizeof(HDGRID); n = vdef(GEOMETRY); sfn = i