stty.h includes ioctl.h and termios.h; extern.h defines mode/char arrays
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 5 Jun 1991 08:42:47 +0000 (00:42 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 5 Jun 1991 08:42:47 +0000 (00:42 -0800)
SCCS-vsn: bin/stty/cchar.c 5.2
SCCS-vsn: bin/stty/gfmt.c 5.2
SCCS-vsn: bin/stty/modes.c 5.2
SCCS-vsn: bin/stty/print.c 5.2
SCCS-vsn: bin/stty/util.c 5.2

usr/src/bin/stty/cchar.c
usr/src/bin/stty/gfmt.c
usr/src/bin/stty/modes.c
usr/src/bin/stty/print.c
usr/src/bin/stty/util.c

index 861bb6e..6ba0c0e 100644 (file)
@@ -6,11 +6,10 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)cchar.c    5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)cchar.c    5.2 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/types.h>
 #endif /* not lint */
 
 #include <sys/types.h>
-#include <termios.h>
 #include <stddef.h>
 #include "stty.h"
 
 #include <stddef.h>
 #include "stty.h"
 
index 3c77ad2..8ffec89 100644 (file)
@@ -6,12 +6,10 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)gfmt.c     5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)gfmt.c     5.2 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/types.h>
 #endif /* not lint */
 
 #include <sys/types.h>
-#include <sys/ioctl.h>
-#include <termios.h>
 #include <stdio.h>
 #include <string.h>
 #include "stty.h"
 #include <stdio.h>
 #include <string.h>
 #include "stty.h"
@@ -25,7 +23,6 @@ gprint(tp, wp, ldisc)
        struct winsize *wp;
        int ldisc;
 {
        struct winsize *wp;
        int ldisc;
 {
-       extern struct cchar cchars1[];
        register struct cchar *cp;
 
        (void)printf("gfmt1:cflag=%x:iflag=%x:lflag=%x:oflag=%x:",
        register struct cchar *cp;
 
        (void)printf("gfmt1:cflag=%x:iflag=%x:lflag=%x:oflag=%x:",
index 120bf93..557d1ee 100644 (file)
@@ -6,11 +6,10 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)modes.c    5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)modes.c    5.2 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/types.h>
 #endif /* not lint */
 
 #include <sys/types.h>
-#include <termios.h>
 #include <stddef.h>
 #include "stty.h"
 
 #include <stddef.h>
 #include "stty.h"
 
index a45f6d5..6e9acb5 100644 (file)
@@ -6,12 +6,10 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)print.c    5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)print.c    5.2 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/types.h>
 #endif /* not lint */
 
 #include <sys/types.h>
-#include <sys/ioctl.h>
-#include <termios.h>
 #include <stddef.h>
 #include <stdio.h>
 #include <string.h>
 #include <stddef.h>
 #include <stdio.h>
 #include <string.h>
@@ -29,7 +27,6 @@ print(tp, wp, ldisc, fmt)
        int ldisc;
        enum FMT fmt;
 {
        int ldisc;
        enum FMT fmt;
 {
-       extern struct cchar cchars1[];
        register struct cchar *p;
        register long tmp;
        register int cnt;
        register struct cchar *p;
        register long tmp;
        register int cnt;
index a2d8303..ca53463 100644 (file)
@@ -6,13 +6,11 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)util.c     5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)util.c     5.2 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/types.h>
 #include <sys/stat.h>
 #endif /* not lint */
 
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <sys/ioctl.h>
-#include <termios.h>
 #include <unistd.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <stdio.h>
 #include <stdlib.h>