# | 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 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |