cvs commit: src/bin/stty print.c src/sys/sys ioctl_compat.h src/usr.sbin/pstat pstat.c

Ed Schouten ed at FreeBSD.org
Wed Jul 16 11:24:42 UTC 2008


ed          2008-07-16 11:20:04 UTC

  FreeBSD src repository

  Modified files:
    bin/stty             print.c 
    sys/sys              ioctl_compat.h 
    usr.sbin/pstat       pstat.c 
  Log:
  SVN rev 180559 on 2008-07-16 11:20:04Z by ed
  
  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)
  
  Revision  Changes    Path
  1.21      +0 -5      src/bin/stty/print.c
  1.12      +0 -8      src/sys/sys/ioctl_compat.h
  1.104     +0 -4      src/usr.sbin/pstat/pstat.c


More information about the cvs-all mailing list