--- ray/src/hd/holo.h 1999/01/07 22:04:48 3.19 +++ ray/src/hd/holo.h 2003/05/29 16:26:21 3.21 @@ -1,7 +1,4 @@ -/* Copyright (c) 1999 Silicon Graphics, Inc. */ - -/* SCCSid "$SunId$ SGI" */ - +/* RCSid: $Id: holo.h,v 3.21 2003/05/29 16:26:21 greg Exp $ */ /* * Header file for holodeck programs * @@ -47,7 +44,7 @@ typedef struct { typedef struct { unsigned int4 nrd; /* number of beam rays bundled on disk */ - long fo; /* position in file */ + off_t fo; /* position in file */ } BEAMI; /* beam index */ typedef struct { @@ -99,7 +96,7 @@ extern HOLO *hdinit(), *hdalloc(); extern BEAM *hdgetbeam(); extern RAYVAL *hdnewrays(); extern unsigned hdmemuse(); -extern long hdfiluse(), hdfilen(), hdallocfrag(); +extern off_t hdfiluse(), hdfilen(), hdallocfrag(); extern double hdray(), hdinter(); extern unsigned hdcode(); extern int hdfilord(); @@ -127,7 +124,7 @@ extern int hdwg1[6]; /* wall grid 1 index */ #define HOLOFMT "Holodeck" /* file format identifier */ #define HOLOVERS 0 /* file format version number */ -#define HOLOMAGIC (323+sizeof(long)+8*HOLOVERS) /* file magic number */ +#define HOLOMAGIC (323+sizeof(off_t)+8*HOLOVERS) /* file magic number */ /* * A holodeck file consists of an information header terminated by a