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

Comparing ray/src/px/ra_avs.c (file contents):
Revision 2.10 by schorsch, Thu Jun 5 19:29:34 2003 UTC vs.
Revision 2.11 by schorsch, Sun Mar 28 20:33:14 2004 UTC

# Line 10 | Line 10 | static const char      RCSid[] = "$Id$";
10   #include  <time.h>
11  
12   #include  "platform.h"
13 + #include  "rtio.h"
14   #include  "color.h"
15   #include  "resolu.h"
16  
# Line 21 | Line 22 | char  *progname;
22  
23   int  xmax, ymax;
24  
25 + static void quiterr(char  *err);
26 + static void avs2ra(void);
27 + static void ra2avs(void);
28  
29 < main(argc, argv)
30 < int  argc;
31 < char  *argv[];
29 >
30 > int
31 > main(
32 >        int  argc,
33 >        char  *argv[]
34 > )
35   {
29        extern long  getint();
36          int  reverse = 0;
37          int  i;
38          
# Line 101 | Line 107 | userr:
107   }
108  
109  
110 < quiterr(err)            /* print message and exit */
111 < char  *err;
110 > static void
111 > quiterr(                /* print message and exit */
112 >        char  *err
113 > )
114   {
115          if (err != NULL) {
116                  fprintf(stderr, "%s: %s\n", progname, err);
# Line 112 | Line 120 | char  *err;
120   }
121  
122  
123 < avs2ra()                /* convert 24-bit scanlines to Radiance picture */
123 > static void
124 > avs2ra(void)            /* convert 24-bit scanlines to Radiance picture */
125   {
126          COLR    *scanout;
127          register int    x;
# Line 143 | Line 152 | avs2ra()               /* convert 24-bit scanlines to Radiance pict
152   }
153  
154  
155 < ra2avs()                /* convert Radiance scanlines to 24-bit */
155 > static void
156 > ra2avs(void)            /* convert Radiance scanlines to 24-bit */
157   {
158          COLR    *scanin;
159          register int    x;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines