ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/vgaimage.c
(Generate patch)

Comparing ray/src/px/vgaimage.c (file contents):
Revision 2.9 by gwlarson, Tue Oct 27 09:08:28 1998 UTC vs.
Revision 2.11 by schorsch, Fri Jan 2 12:47:01 2004 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1993 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   *  vgaimage.c - driver for VGA board under DOS
6   */
7  
8 + #include <stdio.h>
9 +
10   #include  "standard.h"
11   #include  <graph.h>
12   #include  "color.h"
# Line 73 | Line 72 | char  errmsg[128];
72  
73   extern BYTE  clrtab[256][3];            /* global color map */
74  
75 < extern long  ftell();
75 > static gethfunc headline;
76  
77  
78   main(argc, argv)
# Line 82 | Line 81 | char  *argv[];
81   {
82          extern char  *getenv(), *fixargv0();
83          char  *gv;
85        int  headline();
84          int  i;
85  
86          progname = argv[0] = fixargv0(argv[0]);
# Line 147 | Line 145 | userr:
145   }
146  
147  
148 < int
149 < headline(s)             /* get relevant info from header */
150 < char  *s;
148 > static int
149 > headline(               /* get relevant info from header */
150 >        char    *s,
151 >        void    *p
152 > )
153   {
154          char  fmt[32];
155  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines