191 |
|
goto badopt; |
192 |
|
} |
193 |
|
} |
194 |
+ |
/* set/check spectral sampling */ |
195 |
+ |
rval = setspectrsamp(CNDX, WLPART); |
196 |
+ |
if (rval < 0) |
197 |
+ |
error(USER, "unsupported spectral sampling"); |
198 |
+ |
|
199 |
|
err = setview(&ourview); /* set viewing parameters */ |
200 |
|
if (err != NULL) |
201 |
|
error(USER, err); |
262 |
|
|
263 |
|
void |
264 |
|
wputs( /* warning output function */ |
265 |
< |
char *s |
265 |
> |
const char *s |
266 |
|
) |
267 |
|
{ |
268 |
|
int lasterrno = errno; |
273 |
|
|
274 |
|
void |
275 |
|
eputs( /* put string to stderr */ |
276 |
< |
char *s |
276 |
> |
const char *s |
277 |
|
) |
278 |
|
{ |
279 |
|
static int midline = 0; |