1 |
– |
/* Copyright (c) 1991 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 |
|
* ra_pr.c - program to convert between RADIANCE and pixrect picture format. |
6 |
|
* |
12 |
|
|
13 |
|
#include <math.h> |
14 |
|
|
15 |
+ |
#include <time.h> |
16 |
+ |
|
17 |
|
#include "rasterfile.h" |
18 |
|
|
19 |
|
#include "color.h" |
168 |
|
} |
169 |
|
|
170 |
|
|
171 |
+ |
void |
172 |
|
eputs(s) |
173 |
|
char *s; |
174 |
|
{ |
176 |
|
} |
177 |
|
|
178 |
|
|
179 |
+ |
void |
180 |
|
quit(code) |
181 |
|
int code; |
182 |
|
{ |
277 |
|
if (fwritecolrs(scanline, xmax, stdout) < 0) |
278 |
|
quiterr("error writing RADIANCE file"); |
279 |
|
} |
280 |
< |
free((char *)scanline); |
280 |
> |
free((void *)scanline); |
281 |
|
} |
282 |
|
|
283 |
|
|