1 |
– |
/* Copyright (c) 1988 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_im.c - convert Radiance picture to imagetools raw format. |
6 |
|
* |
9 |
|
|
10 |
|
#include <stdio.h> |
11 |
|
|
12 |
+ |
#include "rtprocess.h" |
13 |
|
|
14 |
|
#define PCOMM "pvalue -h -b -db" |
15 |
|
|
16 |
|
#define MINVAL 1 |
17 |
|
#define MAXVAL 252 |
18 |
|
|
19 |
< |
extern FILE *popen(), *freopen(); |
19 |
> |
extern FILE *freopen(); |
20 |
|
|
21 |
|
|
22 |
< |
main(argc, argv) |
23 |
< |
int argc; |
24 |
< |
char *argv[]; |
22 |
> |
int |
23 |
> |
main( |
24 |
> |
int argc, |
25 |
> |
char *argv[] |
26 |
> |
) |
27 |
|
{ |
28 |
|
register int c; |
29 |
|
register FILE *fp; |