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/dev/ofw/ofcons.c | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/dev/ofw/ofcons.c')
-rw-r--r-- | sys/dev/ofw/ofcons.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/ofw/ofcons.c b/sys/dev/ofw/ofcons.c index f55bfa5be82..c831bd4baa2 100644 --- a/sys/dev/ofw/ofcons.c +++ b/sys/dev/ofw/ofcons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ofcons.c,v 1.8 2001/08/24 14:26:46 drahn Exp $ */ +/* $OpenBSD: ofcons.c,v 1.9 2002/03/14 01:26:58 millert Exp $ */ /* $NetBSD: ofcons.c,v 1.3 1996/10/13 01:38:11 christos Exp $ */ /* @@ -59,8 +59,8 @@ struct ofc_softc { static int stdin = 0; static int stdout = 0; -static int ofcmatch __P((struct device *, void *, void *)); -static void ofcattach __P((struct device *, struct device *, void *)); +static int ofcmatch(struct device *, void *, void *); +static void ofcattach(struct device *, struct device *, void *); struct cfattach ofcons_ca = { sizeof(struct ofc_softc), ofcmatch, ofcattach @@ -70,7 +70,7 @@ struct cfdriver ofcons_cd = { NULL, "ofcons", DV_TTY }; -static int ofcprobe __P((void)); +static int ofcprobe(void); static int ofcmatch(parent, match, aux) @@ -85,9 +85,9 @@ ofcmatch(parent, match, aux) || OF_instance_to_package(stdout) == ofp->phandle; } -static void ofcstart __P((struct tty *)); -static int ofcparam __P((struct tty *, struct termios *)); -static void ofcpoll __P((void *)); +static void ofcstart(struct tty *); +static int ofcparam(struct tty *, struct termios *); +static void ofcpoll(void *); static void ofcattach(parent, self, aux) @@ -100,9 +100,9 @@ ofcattach(parent, self, aux) printf("\n"); } -void ofcstart __P((struct tty *)); -int ofcparam __P((struct tty *, struct termios *)); -void ofcpoll __P((void *)); +void ofcstart(struct tty *); +int ofcparam(struct tty *, struct termios *); +void ofcpoll(void *); int ofcopen(dev_t dev, int flag, int mode, struct proc *p); int ofcclose(dev_t dev, int flag, int mode, struct proc *p); int ofcread(dev_t dev, struct uio *uio, int flag); |