diff options
author | phk <phk@FreeBSD.org> | 1995-12-08 23:23:00 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-12-08 23:23:00 +0000 |
commit | a69d1dfbcb7bc187703b1767f289aba2bd4edbb6 (patch) | |
tree | 0408fdddf8ea8eeab5dc960ead9a7c96a2e301bd /sys/kern/tty_pty.c | |
parent | 5a5b07fa54887595e0725dba442af441c842786a (diff) | |
download | FreeBSD-src-a69d1dfbcb7bc187703b1767f289aba2bd4edbb6.zip FreeBSD-src-a69d1dfbcb7bc187703b1767f289aba2bd4edbb6.tar.gz |
Julian forgot to make the *devsw structures static.
Diffstat (limited to 'sys/kern/tty_pty.c')
-rw-r--r-- | sys/kern/tty_pty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c index 9897365..55c44dd 100644 --- a/sys/kern/tty_pty.c +++ b/sys/kern/tty_pty.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tty_pty.c 8.2 (Berkeley) 9/23/93 - * $Id: tty_pty.c,v 1.28 1995/12/02 13:08:20 julian Exp $ + * $Id: tty_pty.c,v 1.29 1995/12/08 11:17:09 julian Exp $ */ /* @@ -76,12 +76,12 @@ static d_select_t ptcselect; #define CDEV_MAJOR_S 5 #define CDEV_MAJOR_C 6 -struct cdevsw pts_cdevsw = +static struct cdevsw pts_cdevsw = { ptsopen, ptsclose, ptsread, ptswrite, /*5*/ ptyioctl, ptsstop, nullreset, ptydevtotty,/* ttyp */ ttselect, nommap, NULL, "pts", NULL, -1 }; -struct cdevsw ptc_cdevsw = +static struct cdevsw ptc_cdevsw = { ptcopen, ptcclose, ptcread, ptcwrite, /*6*/ ptyioctl, nullstop, nullreset, ptydevtotty,/* ptyp */ ptcselect, nommap, NULL, "ptc", NULL, -1 }; |