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