--- ray/src/hd/holo.h 1997/11/06 16:37:45 3.2 +++ ray/src/hd/holo.h 1997/11/11 15:13:33 3.4 @@ -57,7 +57,7 @@ typedef struct { unsigned long tick; /* clock tick for LRU replacement */ } BEAM; /* followed by nrm RAYVAL's */ -#define hdbray(bp) (RAYVAL *)((bp)+1) +#define hdbray(bp) ((RAYVAL *)((bp)+1)) #define hdbsiz(nr) (sizeof(BEAM)+(nr)*sizeof(RAYVAL)) typedef struct { @@ -90,7 +90,7 @@ typedef struct holo { #define hdflush(hp) (hdfreebeam(hp,0) && hdsync(hp)) -extern HOLO *hdinit(); +extern HOLO *hdinit(), *hdalloc(); extern BEAM *hdgetbeam(); extern RAYVAL *hdnewrays(); extern long hdmemuse(), hdfiluse();