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

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

# Line 1 | Line 1
1   #ifndef lint
2   static const char       RCSid[] = "$Id$";
3   #endif
4 #ifndef lint
5 static char sccsid[] = "@(#)erase.c     4.1 (Berkeley) 6/27/83";
6 #endif
4  
5   #include <stdio.h>
6  
7   #include "platform.h"
8 + #include "local4014.h"
9 + #include "lib4014.h"
10  
11 < extern int ohiy;
12 < extern int ohix;
13 < extern int oloy;
14 < extern int oextra;
15 < erase(){
16 <                putch(033);
17 <                putch(014);
18 <                fflush(stdout);
19 <                ohiy= -1;
20 <                ohix = -1;
21 <                oextra = -1;
23 <                oloy = -1;
24 <                sleep(2);
11 > extern void
12 > erase(void)
13 > {
14 >        putch(033);
15 >        putch(014);
16 >        fflush(stdout);
17 >        ohiy= -1;
18 >        ohix = -1;
19 >        oextra = -1;
20 >        oloy = -1;
21 >        sleep(2);
22   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines