27 |
|
int nfile; /* number of files */ |
28 |
|
|
29 |
|
static gethfunc tabputs; |
30 |
+ |
static void psum(void); |
31 |
|
|
32 |
|
|
33 |
+ |
|
34 |
|
static int |
35 |
|
tabputs( /* print line preceded by a tab */ |
36 |
|
char *s, |
42 |
|
} |
43 |
|
|
44 |
|
|
45 |
< |
main(argc, argv) |
46 |
< |
int argc; |
47 |
< |
char *argv[]; |
45 |
> |
int |
46 |
> |
main( |
47 |
> |
int argc, |
48 |
> |
char *argv[] |
49 |
> |
) |
50 |
|
{ |
51 |
|
double d; |
52 |
|
int xres, yres; |
127 |
|
psum(); |
128 |
|
|
129 |
|
quit(0); |
130 |
+ |
return 0; /* pro forma return */ |
131 |
|
} |
132 |
|
|
133 |
|
|
134 |
< |
psum() /* sum the files */ |
134 |
> |
static void |
135 |
> |
psum(void) /* sum the files */ |
136 |
|
{ |
137 |
|
COLOR *scanin, *scanout; |
138 |
|
int y, i; |
169 |
|
|
170 |
|
|
171 |
|
void |
172 |
< |
quit(code) /* exit gracefully */ |
173 |
< |
int code; |
172 |
> |
quit( /* exit gracefully */ |
173 |
> |
int code |
174 |
> |
) |
175 |
|
{ |
176 |
|
exit(code); |
177 |
|
} |