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/i386/isa/pccomvar.h | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/arch/i386/isa/pccomvar.h')
-rw-r--r-- | sys/arch/i386/isa/pccomvar.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/sys/arch/i386/isa/pccomvar.h b/sys/arch/i386/isa/pccomvar.h index 80fa32c9967..781b59f0752 100644 --- a/sys/arch/i386/isa/pccomvar.h +++ b/sys/arch/i386/isa/pccomvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pccomvar.h,v 1.13 2001/08/08 19:07:17 mickey Exp $ */ +/* $OpenBSD: pccomvar.h,v 1.14 2002/03/14 01:26:33 millert Exp $ */ /* $NetBSD: comvar.h,v 1.5 1996/05/05 19:50:47 christos Exp $ */ /* @@ -105,45 +105,45 @@ struct com_softc { int sc_tbc; /* power management hooks */ - int (*enable) __P((struct com_softc *)); - void (*disable) __P((struct com_softc *)); + int (*enable)(struct com_softc *); + void (*disable)(struct com_softc *); int enabled; }; -int comprobe1 __P((bus_space_tag_t, bus_space_handle_t)); -void cominit __P((bus_space_tag_t, bus_space_handle_t, int)); -int comstop __P((struct tty *, int)); -int comintr __P((void *)); -int com_detach __P((struct device *, int)); -int com_activate __P((struct device *, enum devact)); +int comprobe1(bus_space_tag_t, bus_space_handle_t); +void cominit(bus_space_tag_t, bus_space_handle_t, int); +int comstop(struct tty *, int); +int comintr(void *); +int com_detach(struct device *, int); +int com_activate(struct device *, enum devact); #ifdef COM_HAYESP -int comprobeHAYESP __P((bus_space_handle_t hayespioh, struct com_softc *sc)); +int comprobeHAYESP(bus_space_handle_t hayespioh, struct com_softc *sc); #endif -void comdiag __P((void *)); -int comspeed __P((long, long)); -int comparam __P((struct tty *, struct termios *)); -void comstart __P((struct tty *)); -void comsoft __P((void)); -int comhwiflow __P((struct tty *, int)); -void com_raisedtr __P((void *)); +void comdiag(void *); +int comspeed(long, long); +int comparam(struct tty *, struct termios *); +void comstart(struct tty *); +void comsoft(void); +int comhwiflow(struct tty *, int); +void com_raisedtr(void *); struct consdev; -void comcnprobe __P((struct consdev *)); -void comcninit __P((struct consdev *)); -int comcngetc __P((dev_t)); -void comcnputc __P((dev_t, int)); -void comcnpollc __P((dev_t, int)); -int com_common_getc __P((bus_space_tag_t, bus_space_handle_t)); -void com_common_putc __P((bus_space_tag_t, bus_space_handle_t, int)); +void comcnprobe(struct consdev *); +void comcninit(struct consdev *); +int comcngetc(dev_t); +void comcnputc(dev_t, int); +void comcnpollc(dev_t, int); +int com_common_getc(bus_space_tag_t, bus_space_handle_t); +void com_common_putc(bus_space_tag_t, bus_space_handle_t, int); #if defined(DDB) || defined(KGDB) -void com_enable_debugport __P((struct com_softc *)); +void com_enable_debugport(struct com_softc *); #endif /* DDB || KGDB */ #ifdef KGDB -int com_kgdb_attach __P((bus_space_tag_t, int, int, int, tcflag_t)); -int kgdbintr __P((void *)); +int com_kgdb_attach(bus_space_tag_t, int, int, int, tcflag_t); +int kgdbintr(void *); #endif /* KGDB */ extern int comconsaddr; |