diff options
author | ed <ed@FreeBSD.org> | 2008-07-16 11:20:04 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2008-07-16 11:20:04 +0000 |
commit | 27f054a7ef51ed1f358e8909c307c1997e458ce8 (patch) | |
tree | 8d7a919f0ad558482dfa74adb16eca3e7b2dd6a3 /usr.sbin | |
parent | aaeba0f3d2a31fa5e3675e4d65c51f5ba341821a (diff) | |
download | FreeBSD-src-27f054a7ef51ed1f358e8909c307c1997e458ce8.zip FreeBSD-src-27f054a7ef51ed1f358e8909c307c1997e458ce8.tar.gz |
Remove OTTYDISC, NETLDISC and NTTYDISC definitions.
When I ported most applications away from <sgtty.h>, I noticed none of
them were actually using these definitions. I kept them in place,
because I didn't want to touch tools like pstat(8) and stty(1).
In preparation for the MPSAFE TTY layer, remove these definitions. This
doesn't have any impact with respect to binary compatibility (see
tty_conf.c).
We couldn now add an #error to <sys/ioctl_compat.h> when included
outside the kernel. Unfortunately, kdump's mkioctls includes this file
unconditionally.
Approved by: philip (mentor)
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pstat/pstat.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index b3e55a8..a15292b 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -54,7 +54,6 @@ __FBSDID("$FreeBSD$"); #include <sys/stat.h> #include <sys/stdint.h> #include <sys/ioctl.h> -#include <sys/ioctl_compat.h> /* XXX NTTYDISC is too well hidden */ #include <sys/tty.h> #include <sys/blist.h> @@ -367,9 +366,6 @@ ttyprt(struct xtty *xt) case TTYDISC: (void)printf("term\n"); break; - case NTTYDISC: - (void)printf("ntty\n"); - break; case SLIPDISC: (void)printf("slip\n"); break; |