diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
commit | 8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch) | |
tree | ac9a52bace179e17769651fb9f805070d78abe5f /sys/arch/mvme88k/dev/cl.c | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/arch/mvme88k/dev/cl.c')
-rw-r--r-- | sys/arch/mvme88k/dev/cl.c | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/sys/arch/mvme88k/dev/cl.c b/sys/arch/mvme88k/dev/cl.c index 36ccbc0028d..9ff1f201562 100644 --- a/sys/arch/mvme88k/dev/cl.c +++ b/sys/arch/mvme88k/dev/cl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cl.c,v 1.21 2002/02/15 20:45:30 nordin Exp $ */ +/* $OpenBSD: cl.c,v 1.22 2002/03/14 01:26:39 millert Exp $ */ /* * Copyright (c) 1995 Dale Rahn. All rights reserved. @@ -155,50 +155,50 @@ struct { }; /* prototypes */ -int clcnprobe __P((struct consdev *cp)); -int clcninit __P((struct consdev *cp)); -int cl_instat __P((struct clsoftc *sc)); -int clcngetc __P((dev_t dev)); -int clcnputc __P((dev_t dev, u_char c)); -void clcnpollc __P((dev_t, int)); -u_char cl_clkdiv __P((int speed)); -u_char cl_clknum __P((int speed)); -u_char cl_clkrxtimeout __P((int speed)); -void clstart __P((struct tty *tp)); -void cl_unblock __P((struct tty *tp)); -int clccparam __P((struct clsoftc *sc, struct termios *par, int channel)); - -int clparam __P((struct tty *tp, struct termios *t)); -int cl_mintr __P((void *)); -int cl_txintr __P((void *)); -int cl_rxintr __P((void *)); -void cl_overflow __P((struct clsoftc *sc, int channel, long *ptime, u_char *msg)); -void cl_parity __P((struct clsoftc *sc, int channel)); -void cl_frame __P((struct clsoftc *sc, int channel)); -void cl_break __P(( struct clsoftc *sc, int channel)); -int clmctl __P((dev_t dev, int bits, int how)); +int clcnprobe(struct consdev *cp); +int clcninit(struct consdev *cp); +int cl_instat(struct clsoftc *sc); +int clcngetc(dev_t dev); +int clcnputc(dev_t dev, u_char c); +void clcnpollc(dev_t, int); +u_char cl_clkdiv(int speed); +u_char cl_clknum(int speed); +u_char cl_clkrxtimeout(int speed); +void clstart(struct tty *tp); +void cl_unblock(struct tty *tp); +int clccparam(struct clsoftc *sc, struct termios *par, int channel); + +int clparam(struct tty *tp, struct termios *t); +int cl_mintr(void *); +int cl_txintr(void *); +int cl_rxintr(void *); +void cl_overflow(struct clsoftc *sc, int channel, long *ptime, u_char *msg); +void cl_parity(struct clsoftc *sc, int channel); +void cl_frame(struct clsoftc *sc, int channel); +void cl_break( struct clsoftc *sc, int channel); +int clmctl(dev_t dev, int bits, int how); #ifdef DEBUG -void cl_dumpport __P((int channel)); +void cl_dumpport(int channel); #endif -int clprobe __P((struct device *parent, void *self, void *aux)); -void clattach __P((struct device *parent, struct device *self, void *aux)); +int clprobe(struct device *parent, void *self, void *aux); +void clattach(struct device *parent, struct device *self, void *aux); -int clopen __P((dev_t dev, int flag, int mode, struct proc *p)); -int clclose __P((dev_t dev, int flag, int mode, struct proc *p)); -int clread __P((dev_t dev, struct uio *uio, int flag)); -int clwrite __P((dev_t dev, struct uio *uio, int flag)); -int clioctl __P((dev_t dev, int cmd, caddr_t data, int flag, struct proc *p)); -int clstop __P((struct tty *tp, int flag)); +int clopen(dev_t dev, int flag, int mode, struct proc *p); +int clclose(dev_t dev, int flag, int mode, struct proc *p); +int clread(dev_t dev, struct uio *uio, int flag); +int clwrite(dev_t dev, struct uio *uio, int flag); +int clioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p); +int clstop(struct tty *tp, int flag); -void cl_initchannel __P((struct clsoftc *sc, int channel)); -void clputc __P((struct clsoftc *sc, int unit, u_char c)); -u_char clgetc __P((struct clsoftc *sc, int *channel)); +void cl_initchannel(struct clsoftc *sc, int channel); +void clputc(struct clsoftc *sc, int unit, u_char c); +u_char clgetc(struct clsoftc *sc, int *channel); #if 0 void cloutput __P( (struct tty *tp)); #endif #ifdef CLCD_DO_POLLED_INPUT -void cl_chkinput __P((void)); +void cl_chkinput(void); #endif struct cfattach cl_ca = { @@ -217,7 +217,7 @@ int dopoll = 1; #define CL_CHANNEL(x) (minor(x) & 3) #define CL_TTY(x) (minor(x)) -struct tty *cltty __P((dev_t dev)); +struct tty *cltty(dev_t dev); struct tty *cltty(dev) dev_t dev; |