summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_pty.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-03-14 01:26:25 +0000
committermillert <millert@openbsd.org>2002-03-14 01:26:25 +0000
commitc4071fd13883b3f74b90a411bbb39755a785aeaa (patch)
tree241e7c760222fac909b512d36156c6db1b610256 /sys/kern/tty_pty.c
parentcompare pointers with NULL not 0 (diff)
downloadwireguard-openbsd-c4071fd13883b3f74b90a411bbb39755a785aeaa.tar.xz
wireguard-openbsd-c4071fd13883b3f74b90a411bbb39755a785aeaa.zip
First round of __P removal in sys
Diffstat (limited to 'sys/kern/tty_pty.c')
-rw-r--r--sys/kern/tty_pty.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c
index b39f9abe104..35a94d3e24c 100644
--- a/sys/kern/tty_pty.c
+++ b/sys/kern/tty_pty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty_pty.c,v 1.9 2002/02/17 07:07:49 deraadt Exp $ */
+/* $OpenBSD: tty_pty.c,v 1.10 2002/03/14 01:27:05 millert Exp $ */
/* $NetBSD: tty_pty.c,v 1.33.4.1 1996/06/02 09:08:11 mrg Exp $ */
/*
@@ -76,10 +76,10 @@ int npty;
#define PF_NOSTOP 0x40
#define PF_UCNTL 0x80 /* user control mode */
-void ptyattach __P((int));
-void ptcwakeup __P((struct tty *, int));
-struct tty *ptytty __P((dev_t));
-void ptsstart __P((struct tty *));
+void ptyattach(int);
+void ptcwakeup(struct tty *, int);
+struct tty *ptytty(dev_t);
+void ptsstart(struct tty *);
/*
* Establish n (or default if n is 1) ptys in the system.
@@ -291,7 +291,7 @@ ptcwakeup(tp, flag)
}
}
-int ptcopen __P((dev_t, int, int, struct proc *));
+int ptcopen(dev_t, int, int, struct proc *);
/*ARGSUSED*/
int