From f00200d8a459bcf01e832c89518247e88ce28bf0 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 15 Jul 2004 20:47:41 +0000 Subject: Preparation commit for the tty cleanups that will follow in the near future: rename ttyopen() -> tty_open() and ttyclose() -> tty_close(). We need the ttyopen() and ttyclose() for the new generic cdevsw functions for tty devices in order to have consistent naming. --- sys/kern/subr_clist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/subr_clist.c') diff --git a/sys/kern/subr_clist.c b/sys/kern/subr_clist.c index cc4b32a..afa1277 100644 --- a/sys/kern/subr_clist.c +++ b/sys/kern/subr_clist.c @@ -81,8 +81,8 @@ clist_init(dummy) { /* * Allocate an initial base set of cblocks as a 'slush'. - * We allocate non-slush cblocks with each initial ttyopen() and - * deallocate them with each ttyclose(). + * We allocate non-slush cblocks with each initial tty_open() and + * deallocate them with each tty_close(). * We should adjust the slush allocation. This can't be done in * the i/o routines because they are sometimes called from * interrupt handlers when it may be unsafe to call malloc(). -- cgit v1.1