cvs commit: src/sys/kern tty_ttydisc.c

Ed Schouten ed at
Tue Sep 2 17:13:28 UTC 2008

ed          2008-09-02 17:13:11 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             tty_ttydisc.c 
  SVN rev 182683 on 2008-09-02 17:13:11Z by ed
  Use size_t to store the return value of ttydisc_getc().
  The ttydisc_getc() routine obtains a read length from ttyoutq_read().
  For no valid reason, the current code stores this value in an int, and
  returns a size_t. There is no need to perform this useless conversion.
  Obtained from:  //depot/projects/mpsafetty/...
  Revision  Changes    Path
  1.3       +3 -4      src/sys/kern/tty_ttydisc.c

More information about the cvs-all mailing list