summaryrefslogtreecommitdiff
path: root/sys/kern/tty_pty.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2004-07-09 08:55:42 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2004-07-09 08:55:42 +0000
commitff423732e7588efcccd337e5789a832cd7bccb4c (patch)
treeed09d3a82a78244670fd02c73ddd85f6183a03bf /sys/kern/tty_pty.c
parent874d091f8e32cf317dec9b34ef72a956327310c2 (diff)
go away statics
Diffstat (limited to 'sys/kern/tty_pty.c')
-rw-r--r--sys/kern/tty_pty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c
index fb7f9fbf34a..3581bf1d5c8 100644
--- a/sys/kern/tty_pty.c
+++ b/sys/kern/tty_pty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty_pty.c,v 1.22 2004/04/11 18:04:36 millert Exp $ */
+/* $OpenBSD: tty_pty.c,v 1.23 2004/07/09 08:55:41 niklas Exp $ */
/* $NetBSD: tty_pty.c,v 1.33.4.1 1996/06/02 09:08:11 mrg Exp $ */
/*
@@ -148,7 +148,7 @@ ptydevname(int minor, struct pt_softc *pti)
/*
* Allocate and zero array of nelem elements.
*/
-static struct pt_softc **
+struct pt_softc **
ptyarralloc(int nelem)
{
struct pt_softc **pt;
@@ -162,7 +162,7 @@ ptyarralloc(int nelem)
* Check if the minor is correct and ensure necessary structures
* are properly allocated.
*/
-static int
+int
check_pty(int minor)
{
struct pt_softc *pti;