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 |
|
* Skeletal 24-bit image conversion program. Replace "skel" |
6 |
|
* in this file with a more appropriate image type identifier. |
20 |
|
#ifdef MSDOS |
21 |
|
#include <fcntl.h> |
22 |
|
#endif |
23 |
+ |
#include <time.h> |
24 |
|
#include "color.h" |
25 |
|
#include "resolu.h" |
26 |
|
|
29 |
– |
extern char *malloc(); |
30 |
– |
|
27 |
|
double gamcor = 2.2; /* gamma correction */ |
28 |
|
|
29 |
|
int bradj = 0; /* brightness adjustment */ |
146 |
|
quiterr("error writing Radiance picture"); |
147 |
|
} |
148 |
|
/* free scanline */ |
149 |
< |
free((char *)scanout); |
149 |
> |
free((void *)scanout); |
150 |
|
} |
151 |
|
|
152 |
|
|
175 |
|
quiterr("error writing skel file"); |
176 |
|
} |
177 |
|
/* free scanline */ |
178 |
< |
free((char *)scanin); |
178 |
> |
free((void *)scanin); |
179 |
|
} |