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

Comparing ray/src/px/colorscale.c (file contents):
Revision 2.4 by greg, Sat Feb 22 02:07:27 2003 UTC vs.
Revision 2.5 by schorsch, Sun Mar 28 20:33:13 2004 UTC

# Line 16 | Line 16 | static const char      RCSid[] = "$Id$";
16   int  primary = -1;
17   double  prival = 0.0;
18  
19 + static void colorscale(void);
20 + static void printargs(int  ac, char  **av, FILE  *fp);
21  
22 < main(argc, argv)
23 < int  argc;
24 < char  *argv[];
22 >
23 > int
24 > main(
25 >        int  argc,
26 >        char  *argv[]
27 > )
28   {
29          int  i;
30  
# Line 53 | Line 58 | userr:
58   }
59  
60  
61 < colorscale()                    /* output our color scale */
61 > static void
62 > colorscale(void)                        /* output our color scale */
63   {
64          COLOR  scanline[256];
65          int  j;
# Line 82 | Line 88 | writerr:
88   }
89  
90  
91 < printargs(ac, av, fp)           /* print arguments to a file */
92 < int  ac;
93 < char  **av;
94 < FILE  *fp;
91 > static void
92 > printargs(              /* print arguments to a file */
93 >        int  ac,
94 >        char  **av,
95 >        FILE  *fp
96 > )
97   {
98          while (ac-- > 0) {
99                  fputs(*av++, fp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines