summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/bugtty.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
commit8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch)
treeac9a52bace179e17769651fb9f805070d78abe5f /sys/arch/mvme88k/dev/bugtty.c
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/arch/mvme88k/dev/bugtty.c')
-rw-r--r--sys/arch/mvme88k/dev/bugtty.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/sys/arch/mvme88k/dev/bugtty.c b/sys/arch/mvme88k/dev/bugtty.c
index 38682dcbc68..a4a01d6b9a4 100644
--- a/sys/arch/mvme88k/dev/bugtty.c
+++ b/sys/arch/mvme88k/dev/bugtty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bugtty.c,v 1.10 2002/02/15 20:45:30 nordin Exp $ */
+/* $OpenBSD: bugtty.c,v 1.11 2002/03/14 01:26:39 millert Exp $ */
/* Copyright (c) 1998 Steve Murphree, Jr.
* Copyright (c) 1995 Dale Rahn.
* All rights reserved.
@@ -48,8 +48,8 @@
#include "bugtty.h"
-int bugttymatch __P((struct device *parent, void *self, void *aux));
-void bugttyattach __P((struct device *parent, struct device *self, void *aux));
+int bugttymatch(struct device *parent, void *self, void *aux);
+void bugttyattach(struct device *parent, struct device *self, void *aux);
struct cfattach bugtty_ca = {
sizeof(struct device), bugttymatch, bugttyattach
@@ -60,21 +60,21 @@ struct cfdriver bugtty_cd = {
};
/* prototypes */
-int bugttycnprobe __P((struct consdev *cp));
-int bugttycninit __P((struct consdev *cp));
-int bugttycngetc __P((dev_t dev));
-void bugttycnputc __P((dev_t dev, char c));
-
-int bugttyopen __P((dev_t dev, int flag, int mode, struct proc *p));
-int bugttyclose __P((dev_t dev, int flag, int mode, struct proc *p));
-int bugttyread __P((dev_t dev, struct uio *uio, int flag));
-int bugttywrite __P((dev_t dev, struct uio *uio, int flag));
-int bugttyioctl __P((dev_t dev, int cmd, caddr_t data, int flag, struct proc *p));
-int bugttystop __P((struct tty *tp, int flag));
-
-struct tty *bugttytty __P((dev_t dev));
-int bugttymctl __P((dev_t dev, int bits, int how));
-int bugttyparam __P((struct tty *tp, struct termios *tm));
+int bugttycnprobe(struct consdev *cp);
+int bugttycninit(struct consdev *cp);
+int bugttycngetc(dev_t dev);
+void bugttycnputc(dev_t dev, char c);
+
+int bugttyopen(dev_t dev, int flag, int mode, struct proc *p);
+int bugttyclose(dev_t dev, int flag, int mode, struct proc *p);
+int bugttyread(dev_t dev, struct uio *uio, int flag);
+int bugttywrite(dev_t dev, struct uio *uio, int flag);
+int bugttyioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p);
+int bugttystop(struct tty *tp, int flag);
+
+struct tty *bugttytty(dev_t dev);
+int bugttymctl(dev_t dev, int bits, int how);
+int bugttyparam(struct tty *tp, struct termios *tm);
#define DIALOUT(x) ((x) & 0x80)
#define SWFLAGS(dev) (bugttyswflags | (DIALOUT(dev) ? TIOCFLAG_SOFTCAR : 0))
@@ -126,7 +126,7 @@ bugttyattach(parent, self, aux)
}
#define BUGTTYUNIT(x) ((x) & (0x7f))
-void bugttyoutput __P((struct tty *tp));
+void bugttyoutput(struct tty *tp);
int bugttydefaultrate = TTYDEF_SPEED;
int bugttyswflags;