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/snp/snp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/snp') diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c index a352707..6103a5d 100644 --- a/sys/dev/snp/snp.c +++ b/sys/dev/snp/snp.c @@ -52,7 +52,7 @@ static struct cdevsw snp_cdevsw = { }; static struct linesw snpdisc = { - .l_open = ttyopen, + .l_open = tty_open, .l_close = snplclose, .l_read = ttread, .l_write = snplwrite, -- cgit v1.1