summaryrefslogtreecommitdiff
path: root/regress/sys/kern/kqueue/kqueue-pty.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-31 21:48:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-31 21:48:11 +0000
commit8deaa5cb1bdad9c4505896866607f4272b307e9a (patch)
treef2b66a24b21f1edc23c12fdb15eab63814fc036d /regress/sys/kern/kqueue/kqueue-pty.c
parent1472e2b5666bd9c64d37882b7cfb2596d9352eb3 (diff)
various cleanups; david says results are same
Diffstat (limited to 'regress/sys/kern/kqueue/kqueue-pty.c')
-rw-r--r--regress/sys/kern/kqueue/kqueue-pty.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/regress/sys/kern/kqueue/kqueue-pty.c b/regress/sys/kern/kqueue/kqueue-pty.c
index e171fc96a67..e6f1e5ad8b4 100644
--- a/regress/sys/kern/kqueue/kqueue-pty.c
+++ b/regress/sys/kern/kqueue/kqueue-pty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kqueue-pty.c,v 1.4 2003/07/31 03:23:41 mickey Exp $ */
+/* $OpenBSD: kqueue-pty.c,v 1.5 2003/07/31 21:48:08 deraadt Exp $ */
/* Written by Michael Shalayeff, 2003, Public Domain */
@@ -12,7 +12,7 @@
#include <fcntl.h>
#include <err.h>
-int
+static int
pty_check(int kq, struct kevent *ev, int n, int rm, int rs, int wm, int ws)
{
struct timespec ts;
@@ -44,6 +44,8 @@ pty_check(int kq, struct kevent *ev, int n, int rm, int rs, int wm, int ws)
return (0);
}
+int do_pty(void);
+
int
do_pty(void)
{