10 |
|
*/ |
11 |
|
|
12 |
|
#include <stdio.h> |
13 |
+ |
#include <string.h> |
14 |
|
#include <math.h> |
15 |
|
#include <sys/types.h> |
16 |
|
#include <ctype.h> |
124 |
|
int gargc; /* global argc (minus filenames) */ |
125 |
|
char **gargv; /* global argv */ |
126 |
|
|
127 |
< |
extern char *strcpy(), *strcat(), *stradd(), *tailtrunc(), *filetrunc(), |
127 |
> |
extern char *stradd(), *tailtrunc(), *filetrunc(), |
128 |
|
*filename(), *libname(), *fullnam(), *getword(), *atos(); |
129 |
|
extern float *matchlamp(); |
130 |
|
extern time_t fdate(); |
550 |
|
{ |
551 |
|
int nangles, tlt_type; |
552 |
|
double minmax[2]; |
553 |
< |
char buf[MAXPATH], tltname[MAXWORD]; |
553 |
> |
char buf[PATH_MAX], tltname[MAXWORD]; |
554 |
|
FILE *datin, *datout; |
555 |
|
|
556 |
|
if (!strcmp(tltspec, TLTNONE)) { |
622 |
|
FILE *in, *out; |
623 |
|
char *mod, *name; |
624 |
|
{ |
625 |
< |
char buf[MAXPATH], id[MAXWORD]; |
625 |
> |
char buf[PATH_MAX], id[MAXWORD]; |
626 |
|
FILE *datout; |
627 |
|
double mult, bfactor, pfactor, width, length, height, wattage; |
628 |
|
double bounds[2][2]; |