7 |
|
|
8 |
|
#include "copyright.h" |
9 |
|
|
10 |
– |
#include <stdio.h> |
11 |
– |
#include <stdlib.h> |
10 |
|
#include <ctype.h> |
11 |
+ |
|
12 |
+ |
#include "standard.h" |
13 |
+ |
#include "paths.h" |
14 |
|
#include "color.h" |
15 |
|
|
16 |
|
extern char *eindex(), *expsave(); |
16 |
– |
extern FILE *frlibopen(); |
17 |
|
|
18 |
|
typedef struct lamp { |
19 |
|
char *pattern; /* search pattern */ |
25 |
|
|
26 |
|
|
27 |
|
float * |
28 |
< |
matchlamp(s) /* see if string matches any lamp */ |
29 |
< |
char *s; |
28 |
> |
matchlamp( /* see if string matches any lamp */ |
29 |
> |
char *s |
30 |
> |
) |
31 |
|
{ |
32 |
|
register LAMP *lp; |
33 |
|
|
40 |
|
} |
41 |
|
|
42 |
|
|
43 |
< |
loadlamps(file) /* load lamp type file */ |
44 |
< |
char *file; |
43 |
> |
int |
44 |
> |
loadlamps( /* load lamp type file */ |
45 |
> |
char *file |
46 |
> |
) |
47 |
|
{ |
48 |
|
LAMP *lastp; |
49 |
|
register LAMP *lp; |
129 |
|
} |
130 |
|
|
131 |
|
|
132 |
< |
freelamps() /* free our lamps list */ |
132 |
> |
void |
133 |
> |
freelamps(void) /* free our lamps list */ |
134 |
|
{ |
135 |
|
register LAMP *lp1, *lp2; |
136 |
|
|