HomeFreeBSD

Remove OTTYDISC, NETLDISC and NTTYDISC definitions.
rS180559Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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)

Details

Provenance
edAuthored on
Parents
rS180558: Fix error in comment.
Branches
Unknown
Tags
Unknown

Event Timeline