Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/sys/tty.h,v rcsdiff: /ftp/cvs/cvsroot/src/sys/sys/tty.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.102 retrieving revision 1.103 diff -u -p -r1.102 -r1.103 --- src/sys/sys/tty.h 2022/10/25 23:21:13 1.102 +++ src/sys/sys/tty.h 2022/10/26 23:41:49 1.103 @@ -1,4 +1,4 @@ -/* $NetBSD: tty.h,v 1.102 2022/10/25 23:21:13 riastradh Exp $ */ +/* $NetBSD: tty.h,v 1.103 2022/10/26 23:41:49 riastradh Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -319,6 +319,10 @@ int tty_unit(dev_t); void tty_acquire(struct tty *); void tty_release(struct tty *); +void ttylock(struct tty *); +void ttyunlock(struct tty *); +bool ttylocked(struct tty *); + int clalloc(struct clist *, int, int); void clfree(struct clist *);