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

Comparing ray/src/meta/okimate.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 82 | Line 82 | static short  condonly = FALSE,
82                conditioned = FALSE;
83  
84  
85 < main(argc, argv)
86 <
87 < int  argc;
88 < char  **argv;
89 <
85 > int
86 > main(
87 >        int  argc,
88 >        char  **argv
89 > )
90   {
91   FILE  *fp;
92   char  comargs[200], command[300];
# Line 157 | Line 157 | char  **argv;
157   }
158  
159  
160 <
161 <
162 <
163 <
164 <
165 < thispage()              /* rewind and initialize current page */
166 <
160 > void
161 > thispage(void)          /* rewind and initialize current page */
162   {
168
163      if (lineno)
164          error(USER, "cannot restart page in thispage");
171
165   }
166  
167  
168 <
169 <
177 < nextpage()              /* advance to next page */
178 <
168 > void
169 > nextpage(void)          /* advance to next page */
170   {
180
171      fputs("\r\f", stdout);
172  
173      lineno = 0;
184
174   }
175  
176  
177 <
178 <
190 < contpage()              /* continue new plot on current page */
191 <
177 > void
178 > contpage(void)          /* continue new plot on current page */
179   {
193
180      while (lineno++ < NLINES)
181          putc('\n', stdout);
182      
183      lineno = 0;
198    
184   }
185  
186  
187 <
188 < printspan()             /* output span to printer */
204 <
187 > void
188 > printspan(void)         /* output span to printer */
189   {
190      register int  i,j;
191  
# Line 225 | Line 209 | printspan()            /* output span to printer */
209      }
210      fputs("\r\n", stdout);
211      lineno++;
228
212   }
213  
214  
215 <
216 <
217 <
218 < printstr(p)             /* output a string to the printer */
236 <
237 < PRIMITIVE  *p;
238 <
215 > void
216 > printstr(               /* output a string to the printer */
217 >        PRIMITIVE  *p
218 > )
219   {
220      int  i;
221  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines