From owner-cvs-sys Mon Jul 31 12:17:25 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id MAA20096 for cvs-sys-outgoing; Mon, 31 Jul 1995 12:17:25 -0700 Received: (from bde@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id MAA20086 ; Mon, 31 Jul 1995 12:17:21 -0700 Date: Mon, 31 Jul 1995 12:17:21 -0700 From: Bruce Evans Message-Id: <199507311917.MAA20086@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/sys tty.h Sender: cvs-sys-owner@freebsd.org Precedence: bulk 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.