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

Comparing ray/src/meta/mt160l.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 86 | Line 86 | static short  condonly = FALSE,
86                conditioned = FALSE;
87  
88  
89 < main(argc, argv)
90 <
91 < int  argc;
92 < char  **argv;
93 <
89 > int
90 > main(
91 >        int  argc,
92 >        char  **argv
93 > )
94   {
95   FILE  *fp;
96   char  comargs[200], command[300];
# Line 154 | Line 154 | char  **argv;
154         fputs(PUNINIT, stdout);
155         }
156      }
157
157   return(0);
158 < }
158 > }
159  
160  
161 <
162 <
164 <
165 <
166 <
167 < thispage()              /* rewind and initialize current page */
168 <
161 > void
162 > thispage(void)          /* rewind and initialize current page */
163   {
170
164      if (lineno)
165          error(USER, "cannot restart page in thispage");
173
166   }
167  
168  
169 <
170 <
179 < nextpage()              /* advance to next page */
180 <
169 > void
170 > nextpage(void)          /* advance to next page */
171   {
182
172      fputs("\f\r", stdout);
173  
174      lineno = 0;
186
175   }
176  
177  
178 <
179 <
192 < contpage()              /* continue new plot on current page */
193 <
178 > void
179 > contpage(void)          /* continue new plot on current page */
180   {
181  
182      while (lineno++ < NLINES)
183          putc('\n', stdout);
184      
185      lineno = 0;
200    
186   }
187  
188  
189 <
190 < printspan()             /* output span to printer */
206 <
189 > void
190 > printspan(void)         /* output span to printer */
191   {
192      register unsigned shiftreg;
193      unsigned short  outc;
194 <    register  k;
194 >    register int k;
195      unsigned short offset, mask;
196      int  i,j;
197  
# Line 249 | Line 233 | printspan()            /* output span to printer */
233          }
234      putc('\n', stdout);
235      lineno++;
252
236   }
237  
238  
239 <
240 <
241 <
242 < printstr(p)             /* output a string to the printer */
260 <
261 < PRIMITIVE  *p;
262 <
239 > void
240 > printstr(               /* output a string to the printer */
241 >        PRIMITIVE  *p
242 > )
243   {
244      int  i;
245  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines