diff options
author | phk <phk@FreeBSD.org> | 2004-09-17 06:13:47 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-09-17 06:13:47 +0000 |
commit | f8ef366cb9974bda7e6edc7ad08809dd2cfe6d3a (patch) | |
tree | a4ab707966103b566302a387890d500d971681c6 /sys/kern/tty.c | |
parent | 2e0425d5d941642c26cb83617bc75d961a1a8f1c (diff) | |
download | FreeBSD-src-f8ef366cb9974bda7e6edc7ad08809dd2cfe6d3a.zip FreeBSD-src-f8ef366cb9974bda7e6edc7ad08809dd2cfe6d3a.tar.gz |
Add ttyalloc() which in due time will be the successor to ttymalloc(),
but without the "struct tty *" argument.
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r-- | sys/kern/tty.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c index fa3fe3f..f95b9ff 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -2798,6 +2798,13 @@ ttymalloc(struct tty *tp) return (tp); } +struct tty * +ttyalloc() +{ + + return (ttymalloc(NULL)); +} + static int sysctl_kern_ttys(SYSCTL_HANDLER_ARGS) { |