--- ray/src/px/aedimage.c 1998/10/27 09:08:25 2.4 +++ ray/src/px/aedimage.c 2004/01/02 12:47:01 2.6 @@ -1,9 +1,6 @@ -/* Copyright (c) 1986 Regents of the University of California */ - #ifndef lint -static char SCCSid[] = "$SunId$ LBL"; +static const char RCSid[] = "$Id: aedimage.c,v 2.6 2004/01/02 12:47:01 schorsch Exp $"; #endif - /* * aedimage.c - RADIANCE driver for AED 512 terminal. * @@ -12,15 +9,12 @@ static char SCCSid[] = "$SunId$ LBL"; */ #include - #include - #include - #include #include "pic.h" - +#include "resolu.h" #include "color.h" @@ -102,12 +96,14 @@ long scanpos[NROWS]; double exposure = 1.0; int wrong_fmt = 0; +static gethfunc checkhead; + main(argc, argv) int argc; char *argv[]; { - int onintr(), checkhead(); + int onintr(); char sbuf[256]; register int i; @@ -170,9 +166,11 @@ userr: } -int -checkhead(line) /* deal with line from header */ -char *line; +static int +checkhead( /* deal with line from header */ + char *line, + void *p +) { char fmt[32]; @@ -247,6 +245,7 @@ char *err; } +void eputs(s) char *s; { @@ -254,6 +253,7 @@ char *s; } +void quit(status) int status; {