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/dev/syscons/syscons.c | 2 +- sys/dev/syscons/sysmouse.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/syscons') diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 2620ea7..669c256 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -557,7 +557,7 @@ scclose(struct cdev *dev, int flag, int mode, struct thread *td) } spltty(); ttyld_close(tp, flag); - ttyclose(tp); + tty_close(tp); spl0(); return(0); } diff --git a/sys/dev/syscons/sysmouse.c b/sys/dev/syscons/sysmouse.c index db2487d..ce8fe12 100644 --- a/sys/dev/syscons/sysmouse.c +++ b/sys/dev/syscons/sysmouse.c @@ -110,7 +110,7 @@ smclose(struct cdev *dev, int flag, int mode, struct thread *td) s = spltty(); mouse_level = 0; ttyld_close(tp, flag); - ttyclose(tp); + tty_close(tp); splx(s); return 0; -- cgit v1.1