rsc | 61f5c35 | 2004-05-15 23:55:53 +0000 | [diff] [blame] | 1 | /* |
| 2 | * |
| 3 | * External varibles - most are in glob.c. |
| 4 | * |
| 5 | */ |
| 6 | |
| 7 | extern char **argv; /* global so everyone can use them */ |
| 8 | extern int argc; |
| 9 | |
| 10 | extern int x_stat; /* program exit status */ |
| 11 | extern int debug; /* debug flag */ |
| 12 | extern int ignore; /* what we do with FATAL errors */ |
| 13 | |
| 14 | extern long lineno; /* line number */ |
| 15 | extern long position; /* byte position */ |
| 16 | extern char *prog_name; /* and program name - for errors */ |
| 17 | extern char *temp_file; /* temporary file - for some programs */ |
| 18 | extern char *fontencoding; /* text font encoding scheme */ |
| 19 | |
| 20 | extern int dobbox; /* enable BoundingBox stuff if TRUE */ |
| 21 | extern double pageheight; /* only for BoundingBox calculations! */ |
| 22 | extern double pagewidth; |
| 23 | |
| 24 | extern int reading; /* input */ |
| 25 | extern int writing; /* and output encoding */ |
| 26 | |
| 27 | extern char *optarg; /* for getopt() */ |
| 28 | extern int optind; |
| 29 | |
| 30 | extern void interrupt(); |
wkj | b855148 | 2004-05-16 07:54:22 +0000 | [diff] [blame] | 31 | extern void error(); |
| 32 | extern int cat(); |
| 33 | extern void concat(); |
| 34 | |
rsc | 61f5c35 | 2004-05-15 23:55:53 +0000 | [diff] [blame] | 35 | /* |
wkj | b855148 | 2004-05-16 07:54:22 +0000 | [diff] [blame] | 36 | * extern char *tempnam(char*,char*); |
rsc | 61f5c35 | 2004-05-15 23:55:53 +0000 | [diff] [blame] | 37 | * extern char *malloc(); |
| 38 | * extern char *calloc(); |
| 39 | * extern char *strtok(); |
| 40 | * extern long ftell(); |
| 41 | * extern double atof(); |
| 42 | * extern double sqrt(); |
| 43 | * extern double atan2(); |
| 44 | */ |