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

Comparing ray/src/meta/mx80.c (file contents):
Revision 1.3 by schorsch, Mon Oct 27 10:28:59 2003 UTC vs.
Revision 1.4 by schorsch, Sat Nov 15 02:13:37 2003 UTC

# Line 62 | Line 62 | static short  condonly = FALSE,
62                conditioned = FALSE;
63  
64  
65 < main(argc, argv)
66 <
67 < int  argc;
68 < char  **argv;
69 <
65 > int
66 > main(
67 >        int  argc,
68 >        char  **argv
69 > )
70   {
71   FILE  *fp;
72   char  comargs[200], command[300];
# Line 131 | Line 131 | char  **argv;
131   }
132  
133  
134 <
135 <
136 <
137 <
138 <
139 < thispage()              /* rewind and initialize current page */
140 <
134 > void
135 > thispage(void)          /* rewind and initialize current page */
136   {
142
137      if (lineno)
138          error(USER, "cannot restart page in thispage");
145
139   }
140  
141  
142 <
143 <
151 < nextpage()              /* advance to next page */
152 <
142 > void
143 > nextpage(void)          /* advance to next page */
144   {
154
145      fputs("\f\r", stdout);
146  
147      lineno = 0;
158
148   }
149  
150  
151 <
152 <
164 < contpage()              /* continue new plot on current page */
165 <
151 > void
152 > contpage(void)          /* continue new plot on current page */
153   {
167
154      while (lineno++ < NLINES)
155          putc('\n', stdout);
156      
157      lineno = 0;
172    
158   }
159  
160  
161 <
162 < printspan()             /* output span to printer */
178 <
161 > void
162 > printspan(void)         /* output span to printer */
163   {
164      register int  k;
165  
# Line 203 | Line 187 | printspan()            /* output span to printer */
187   }
188  
189  
190 <
191 <
192 <
193 < printstr(p)             /* output a string to the printer */
210 <
211 < PRIMITIVE  *p;
190 > void
191 > printstr(               /* output a string to the printer */
192 >        PRIMITIVE  *p
193 > )
194  
195   {
196      int  i;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines