| 25 | 
  | 
                                /* regular transformation */ | 
| 26 | 
  | 
typedef struct { | 
| 27 | 
  | 
        MAT4  xfm;                              /* transform matrix */ | 
| 28 | 
< | 
        FLOAT  sca;                             /* scalefactor */ | 
| 28 | 
> | 
        RREAL  sca;                             /* scalefactor */ | 
| 29 | 
  | 
}  XF; | 
| 30 | 
  | 
                                /* complemetary tranformation */ | 
| 31 | 
  | 
typedef struct { | 
| 103 | 
  | 
#define  index                  strchr | 
| 104 | 
  | 
#define  rindex                 strrchr | 
| 105 | 
  | 
#endif | 
| 106 | 
– | 
extern off_t  lseek(); | 
| 106 | 
  | 
 | 
| 107 | 
+ | 
                        /* <unistd.h> is missing on some systems */ | 
| 108 | 
+ | 
extern off_t  lseek(int, off_t, int); | 
| 109 | 
+ | 
 | 
| 110 | 
  | 
#ifdef _WIN32 | 
| 111 | 
  | 
#define NIX 1 | 
| 112 | 
  | 
#endif | 
| 136 | 
  | 
                                        /* defined in fputword.c */ | 
| 137 | 
  | 
extern void     fputword(char *s, FILE *fp); | 
| 138 | 
  | 
                                        /* defined in fixargv0.c */ | 
| 139 | 
< | 
extern char     *fixargv0(char *av0); | 
| 139 | 
> | 
/*extern char   *fixargv0(char *av0);*/ /* XXX include paths.h instead */ | 
| 140 | 
  | 
                                        /* defined in fropen.c */ | 
| 141 | 
  | 
extern FILE     *frlibopen(char *fname); | 
| 142 | 
  | 
                                        /* defined in getlibpath.c */ | 
| 151 | 
  | 
extern long     getint(int siz, FILE *fp); | 
| 152 | 
  | 
extern double   getflt(FILE *fp); | 
| 153 | 
  | 
                                        /* defined in process.c */ | 
| 154 | 
+ | 
/* | 
| 155 | 
  | 
extern int      open_process(int pd[3], char *av[]); | 
| 156 | 
  | 
extern int      process(int pd[3], char *recvbuf, char *sendbuf, | 
| 157 | 
  | 
                                int nbr, int nbs); | 
| 158 | 
  | 
extern int      close_process(int pd[3]); | 
| 159 | 
  | 
extern int      readbuf(int fd, char *bpos, int siz); | 
| 160 | 
  | 
extern int      writebuf(int fd, char *bpos, int siz); | 
| 161 | 
+ | 
*/ | 
| 162 | 
  | 
                                        /* defined in rexpr.c */ | 
| 163 | 
  | 
extern int      ecompile(char *sp, int iflg, int wflag); | 
| 164 | 
  | 
extern char     *expsave(void); |