Module Name: src Committed By: dholland Date: Thu May 22 16:28:06 UTC 2014
Modified Files: src/sys/kern: tty.c tty_conf.c tty_pty.c Log Message: Define TTY_ALLOW_PRIVATE in tty.c, tty_pty.c, and tty_conf.c. These modules are the core of the tty code that in the long term needs access to struct tty. (It may be that in the future this can be cut back to just tty.c; we'll see. For now I'll settle for keeping drivers out of struct tty.) To generate a diff of this commit: cvs rdiff -u -r1.259 -r1.260 src/sys/kern/tty.c cvs rdiff -u -r1.55 -r1.56 src/sys/kern/tty_conf.c cvs rdiff -u -r1.138 -r1.139 src/sys/kern/tty_pty.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/tty.c diff -u src/sys/kern/tty.c:1.259 src/sys/kern/tty.c:1.260 --- src/sys/kern/tty.c:1.259 Tue Feb 25 18:30:11 2014 +++ src/sys/kern/tty.c Thu May 22 16:28:06 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: tty.c,v 1.259 2014/02/25 18:30:11 pooka Exp $ */ +/* $NetBSD: tty.c,v 1.260 2014/05/22 16:28:06 dholland Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -63,10 +63,12 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: tty.c,v 1.259 2014/02/25 18:30:11 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tty.c,v 1.260 2014/05/22 16:28:06 dholland Exp $"); #include "opt_compat_netbsd.h" +#define TTY_ALLOW_PRIVATE + #include <sys/param.h> #include <sys/systm.h> #include <sys/ioctl.h> Index: src/sys/kern/tty_conf.c diff -u src/sys/kern/tty_conf.c:1.55 src/sys/kern/tty_conf.c:1.56 --- src/sys/kern/tty_conf.c:1.55 Mon Apr 28 20:24:05 2008 +++ src/sys/kern/tty_conf.c Thu May 22 16:28:06 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: tty_conf.c,v 1.55 2008/04/28 20:24:05 martin Exp $ */ +/* $NetBSD: tty_conf.c,v 1.56 2014/05/22 16:28:06 dholland Exp $ */ /*- * Copyright (c) 2005, 2007 The NetBSD Foundation, Inc. @@ -66,7 +66,9 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: tty_conf.c,v 1.55 2008/04/28 20:24:05 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tty_conf.c,v 1.56 2014/05/22 16:28:06 dholland Exp $"); + +#define TTY_ALLOW_PRIVATE #include <sys/param.h> #include <sys/systm.h> Index: src/sys/kern/tty_pty.c diff -u src/sys/kern/tty_pty.c:1.138 src/sys/kern/tty_pty.c:1.139 --- src/sys/kern/tty_pty.c:1.138 Fri Apr 4 18:11:58 2014 +++ src/sys/kern/tty_pty.c Thu May 22 16:28:06 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: tty_pty.c,v 1.138 2014/04/04 18:11:58 christos Exp $ */ +/* $NetBSD: tty_pty.c,v 1.139 2014/05/22 16:28:06 dholland Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1993 @@ -37,10 +37,12 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: tty_pty.c,v 1.138 2014/04/04 18:11:58 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tty_pty.c,v 1.139 2014/05/22 16:28:06 dholland Exp $"); #include "opt_ptm.h" +#define TTY_ALLOW_PRIVATE + #include <sys/param.h> #include <sys/systm.h> #include <sys/ioctl.h>