# | Line 1 | Line 1 | |
---|---|---|
1 | #ifndef lint | |
2 | static const char RCSid[] = "$Id$"; | |
3 | #endif | |
4 | – | #ifndef lint |
5 | – | static char sccsid[] = "@(#)label.c 4.1 (Berkeley) 6/27/83"; |
6 | – | #endif |
4 | ||
5 | + | #include "local4014.h" |
6 | + | #include "lib4014.h" |
7 | + | |
8 | #define N 0104 | |
9 | #define E 0101 | |
10 | #define NE 0105 | |
# | Line 22 | Line 22 | char lbl_mv[] = { | |
22 | char lbl_umv[] = { | |
23 | 036,040,N,N,N,N,N,N,NE,NE,NE,NE,NE,NE,NE,NE,NE,NE,037,0 | |
24 | }; | |
25 | < | label(s) |
26 | < | char *s; |
25 | > | |
26 | > | extern void |
27 | > | label( |
28 | > | char *s |
29 | > | ) |
30 | { | |
31 | < | register i,c; |
32 | < | for(i=0; c=lbl_mv[i]; i++) |
31 | > | register int i,c; |
32 | > | for(i=0; (c=lbl_mv[i]); i++) |
33 | putch(c); | |
34 | < | for(i=0; c=s[i]; i++) |
34 | > | for(i=0; (c=s[i]); i++) |
35 | putch(c); | |
36 | < | for(i=0; c=lbl_umv[i]; i++) |
36 | > | for(i=0; (c=lbl_umv[i]); i++) |
37 | putch(c); | |
38 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |