1 |
– |
/* Copyright (c) 1998 Silicon Graphics, Inc. */ |
2 |
– |
|
1 |
|
#ifndef lint |
2 |
< |
static char SCCSid[] = "$SunId$ SGI"; |
2 |
> |
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
6 |
– |
|
4 |
|
/* |
5 |
|
* Create a 4x1 hex bitmap from a Radiance picture. |
6 |
|
*/ |
7 |
|
|
8 |
|
#include <stdio.h> |
9 |
+ |
#include <time.h> |
10 |
|
#include "color.h" |
11 |
|
#include "resolu.h" |
12 |
|
|
15 |
– |
extern char *malloc(); |
16 |
– |
|
13 |
|
char *progname; |
14 |
|
|
15 |
|
int xmax, ymax; |
111 |
|
quiterr("error writing hex bit file"); |
112 |
|
} |
113 |
|
/* free scanline */ |
114 |
< |
free((char *)scanin); |
114 |
> |
free((void *)scanin); |
115 |
|
} |