1 |
– |
/* Copyright (c) 1992 Regents of the University of California */ |
2 |
– |
|
1 |
|
#ifndef lint |
2 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
2 |
> |
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
6 |
– |
|
4 |
|
/* |
5 |
|
* program to convert between RADIANCE and Poskanzer Pixmaps |
6 |
|
*/ |
15 |
|
|
16 |
|
#include <ctype.h> |
17 |
|
|
18 |
+ |
#include <time.h> |
19 |
+ |
|
20 |
|
#include "color.h" |
21 |
|
|
22 |
|
#include "resolu.h" |
23 |
|
|
24 |
|
|
26 |
– |
extern char *malloc(); |
27 |
– |
|
25 |
|
int agryscan(), bgryscan(), aclrscan(), bclrscan(); |
26 |
|
int agryscan2(), bgryscan2(), aclrscan2(), bclrscan2(); |
27 |
|
int normval(); |
209 |
|
quiterr("error writing Radiance picture"); |
210 |
|
} |
211 |
|
/* free scanline */ |
212 |
< |
free((char *)scanout); |
212 |
> |
free((void *)scanout); |
213 |
|
} |
214 |
|
|
215 |
|
|
255 |
|
quiterr("error writing Pixmap"); |
256 |
|
} |
257 |
|
/* free scanline */ |
258 |
< |
free((char *)scanin); |
258 |
> |
free((void *)scanin); |
259 |
|
} |
260 |
|
|
261 |
|
|
290 |
|
quiterr("error writing Radiance picture"); |
291 |
|
} |
292 |
|
/* free scanline */ |
293 |
< |
free((char *)scanout); |
293 |
> |
free((void *)scanout); |
294 |
|
} |
295 |
|
|
296 |
|
|
354 |
|
quiterr("error writing Pixmap"); |
355 |
|
} |
356 |
|
/* free scanline */ |
357 |
< |
free((char *)scanin); |
357 |
> |
free((void *)scanin); |
358 |
|
} |
359 |
|
|
360 |
|
|