summaryrefslogtreecommitdiff
path: root/sys/compat/svr4/svr4_ttold.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/svr4/svr4_ttold.c')
-rw-r--r--sys/compat/svr4/svr4_ttold.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/sys/compat/svr4/svr4_ttold.c b/sys/compat/svr4/svr4_ttold.c
index 5f7fd8f4200..928771f0325 100644
--- a/sys/compat/svr4/svr4_ttold.c
+++ b/sys/compat/svr4/svr4_ttold.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svr4_ttold.c,v 1.6 2000/08/29 02:22:14 brad Exp $ */
+/* $OpenBSD: svr4_ttold.c,v 1.7 2002/03/14 01:26:51 millert Exp $ */
/* $NetBSD: svr4_ttold.c,v 1.9 1996/04/11 12:54:45 christos Exp $ */
/*
@@ -51,23 +51,23 @@
#include <compat/svr4/svr4_ttold.h>
#include <compat/svr4/svr4_ioctl.h>
-static void svr4_tchars_to_bsd_tchars __P((const struct svr4_tchars *st,
- struct tchars *bt));
-static void bsd_tchars_to_svr4_tchars __P((const struct tchars *bt,
- struct svr4_tchars *st));
-static void svr4_sgttyb_to_bsd_sgttyb __P((const struct svr4_sgttyb *ss,
- struct sgttyb *bs));
-static void bsd_sgttyb_to_svr4_sgttyb __P((const struct sgttyb *bs,
- struct svr4_sgttyb *ss));
-static void svr4_ltchars_to_bsd_ltchars __P((const struct svr4_ltchars *sl,
- struct ltchars *bl));
-static void bsd_ltchars_to_svr4_ltchars __P((const struct ltchars *bl,
- struct svr4_ltchars *sl));
+static void svr4_tchars_to_bsd_tchars(const struct svr4_tchars *st,
+ struct tchars *bt);
+static void bsd_tchars_to_svr4_tchars(const struct tchars *bt,
+ struct svr4_tchars *st);
+static void svr4_sgttyb_to_bsd_sgttyb(const struct svr4_sgttyb *ss,
+ struct sgttyb *bs);
+static void bsd_sgttyb_to_svr4_sgttyb(const struct sgttyb *bs,
+ struct svr4_sgttyb *ss);
+static void svr4_ltchars_to_bsd_ltchars(const struct svr4_ltchars *sl,
+ struct ltchars *bl);
+static void bsd_ltchars_to_svr4_ltchars(const struct ltchars *bl,
+ struct svr4_ltchars *sl);
#ifdef DEBUG_SVR4
-static void print_svr4_sgttyb __P((const char *, struct svr4_sgttyb *));
-static void print_svr4_tchars __P((const char *, struct svr4_tchars *));
-static void print_svr4_ltchars __P((const char *, struct svr4_ltchars *));
+static void print_svr4_sgttyb(const char *, struct svr4_sgttyb *);
+static void print_svr4_tchars(const char *, struct svr4_tchars *);
+static void print_svr4_ltchars(const char *, struct svr4_ltchars *);
static void
print_svr4_sgttyb(str, ss)
@@ -192,7 +192,7 @@ svr4_ttold_ioctl(fp, p, retval, fd, cmd, data)
caddr_t data;
{
int error;
- int (*ctl) __P((struct file *, u_long, caddr_t, struct proc *)) =
+ int (*ctl)(struct file *, u_long, caddr_t, struct proc *) =
fp->f_ops->fo_ioctl;
*retval = 0;