87 |
|
#define ttan(x) (tsin(x)/tcos(x)) |
88 |
|
#endif |
89 |
|
/* custom version of assert(3) */ |
90 |
< |
#define CHECK(be,et,em) if (be) error(et,em) else |
90 |
> |
#define CHECK(be,et,em) if (be) error(et,em); else |
91 |
|
#ifdef DEBUG |
92 |
|
#define DCHECK CHECK |
93 |
|
#else |
95 |
|
#endif |
96 |
|
/* memory operations */ |
97 |
|
#ifdef NOSTRUCTASS |
98 |
< |
#define copystruct(d,s) bcopy((char *)(s),(char *)(d),sizeof(*(d))) |
98 |
> |
#define copystruct(d,s) bcopy((void *)(s),(void *)(d),sizeof(*(d))) |
99 |
|
#else |
100 |
|
#define copystruct(d,s) (*(d) = *(s)) |
101 |
|
#endif |
131 |
|
extern void fputword(); |
132 |
|
extern char *fixargv0(); |
133 |
|
extern FILE *frlibopen(); |
134 |
< |
extern char *getlibpath(); |
134 |
> |
extern char *getrlibpath(); |
135 |
|
extern char *getpath(); |
136 |
|
extern void putstr(); |
137 |
|
extern void putint(); |
204 |
|
/* defined in fropen.c */ |
205 |
|
extern FILE *frlibopen(char *fname); |
206 |
|
/* defined in getlibpath.c */ |
207 |
< |
extern char *getlibpath(void); |
207 |
> |
extern char *getrlibpath(void); |
208 |
|
/* defined in getpath.c */ |
209 |
|
extern char *getpath(char *fname, char *searchpath, int mode); |
210 |
|
/* defined in portio.c */ |