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

Comparing ray/src/px/pflip.c (file contents):
Revision 2.7 by schorsch, Thu Jul 3 22:41:44 2003 UTC vs.
Revision 2.8 by schorsch, Sun Mar 28 20:33:14 2004 UTC

# Line 27 | Line 27 | FILE   *fin;                           /* input file */
27   char    *progname;
28  
29  
30 < int
31 < neworder()                      /* figure out new order from old */
30 > static void memerr(void);
31 > static void scanfile(void);
32 > static void flip(void);
33 >
34 >
35 > static int
36 > neworder(void)                  /* figure out new order from old */
37   {
38          register int  no;
39  
# Line 44 | Line 49 | neworder()                     /* figure out new order from old */
49          return(no);
50   }
51  
52 <
53 < main(argc, argv)
54 < int     argc;
55 < char    *argv[];
52 > int
53 > main(
54 >        int     argc,
55 >        char    *argv[]
56 > )
57   {
58          static char     picfmt[LPICFMT+1] = PICFMT;
59          int     i, rval;
# Line 103 | Line 109 | char   *argv[];
109   }
110  
111  
112 < memerr()
112 > static void
113 > memerr(void)
114   {
115          fprintf(stderr, "%s: out of memory\n", progname);
116          exit(1);
117   }
118  
119  
120 < scanfile()                              /* scan to the end of file */
120 > static void
121 > scanfile(void)                          /* scan to the end of file */
122   {
123          extern long     ftell();
124          COLR    *scanin;
# Line 132 | Line 140 | scanfile()                             /* scan to the end of file */
140   }
141  
142  
143 < flip()                                  /* flip the picture */
143 > static void
144 > flip(void)                                      /* flip the picture */
145   {
146          COLR    *scanin, *scanout;
147          int     y;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines