Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jul 1995 12:17:21 -0700
From:      Bruce Evans <bde>
To:        CVS-commiters, cvs-sys
Subject:   cvs commit: src/sys/sys tty.h
Message-ID:  <199507311917.MAA20086@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
bde         95/07/31 12:17:20

  Modified:    sys/kern  tty.c
               sys/sys   tty.h
  Log:
  Assorted cosmetic changes:
  
  Make more functions static.
  
  tty.c:
  Use tcflag_t (u_long) and cc_t instead of u_char and int/long.
  
  Don't record values that are only evaluated once.
  
  Compare ints using imin(), not min().  min() is for comparing u_ints.
  Old versions of tty.c used the type-safe but multiple-evaluation-unsafe
  macro MIN().  The args are apparently never negative; otherwise this
  change would be non-cosmetic.
  
  Don't repeat the loop test in ttywait().
  
  tty.h:
  Improve English in and formatting of comments.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507311917.MAA20086>