summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/xd.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/sparc/dev/xd.c
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/arch/sparc/dev/xd.c')
-rw-r--r--sys/arch/sparc/dev/xd.c50
1 files changed, 25 insertions, 25 deletions
diff --git a/sys/arch/sparc/dev/xd.c b/sys/arch/sparc/dev/xd.c
index 4d2e3d5e3d5..76a433b9149 100644
--- a/sys/arch/sparc/dev/xd.c
+++ b/sys/arch/sparc/dev/xd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xd.c,v 1.20 2001/11/06 19:53:16 miod Exp $ */
+/* $OpenBSD: xd.c,v 1.21 2002/03/14 01:26:43 millert Exp $ */
/* $NetBSD: xd.c,v 1.37 1997/07/29 09:58:16 fair Exp $ */
/*
@@ -207,36 +207,36 @@
extern int pil_to_vme[]; /* from obio.c */
/* internals */
-int xdc_cmd __P((struct xdc_softc *, int, int, int, int, int, char *, int));
-char *xdc_e2str __P((int));
-int xdc_error __P((struct xdc_softc *, struct xd_iorq *,
- struct xd_iopb *, int, int));
-int xdc_ioctlcmd __P((struct xd_softc *, dev_t dev, struct xd_iocmd *));
-void xdc_perror __P((struct xd_iorq *, struct xd_iopb *, int));
-int xdc_piodriver __P((struct xdc_softc *, int, int));
-int xdc_remove_iorq __P((struct xdc_softc *));
-int xdc_reset __P((struct xdc_softc *, int, int, int, struct xd_softc *));
-inline void xdc_rqinit __P((struct xd_iorq *, struct xdc_softc *,
+int xdc_cmd(struct xdc_softc *, int, int, int, int, int, char *, int);
+char *xdc_e2str(int);
+int xdc_error(struct xdc_softc *, struct xd_iorq *,
+ struct xd_iopb *, int, int);
+int xdc_ioctlcmd(struct xd_softc *, dev_t dev, struct xd_iocmd *);
+void xdc_perror(struct xd_iorq *, struct xd_iopb *, int);
+int xdc_piodriver(struct xdc_softc *, int, int);
+int xdc_remove_iorq(struct xdc_softc *);
+int xdc_reset(struct xdc_softc *, int, int, int, struct xd_softc *);
+inline void xdc_rqinit(struct xd_iorq *, struct xdc_softc *,
struct xd_softc *, int, u_long, int,
- caddr_t, struct buf *));
-void xdc_rqtopb __P((struct xd_iorq *, struct xd_iopb *, int, int));
-void xdc_start __P((struct xdc_softc *, int));
-int xdc_startbuf __P((struct xdc_softc *, struct xd_softc *, struct buf *));
-int xdc_submit_iorq __P((struct xdc_softc *, int, int));
-void xdc_tick __P((void *));
-void xdc_xdreset __P((struct xdc_softc *, struct xd_softc *));
+ caddr_t, struct buf *);
+void xdc_rqtopb(struct xd_iorq *, struct xd_iopb *, int, int);
+void xdc_start(struct xdc_softc *, int);
+int xdc_startbuf(struct xdc_softc *, struct xd_softc *, struct buf *);
+int xdc_submit_iorq(struct xdc_softc *, int, int);
+void xdc_tick(void *);
+void xdc_xdreset(struct xdc_softc *, struct xd_softc *);
/* machine interrupt hook */
-int xdcintr __P((void *));
+int xdcintr(void *);
/* autoconf */
-int xdcmatch __P((struct device *, void *, void *));
-void xdcattach __P((struct device *, struct device *, void *));
-int xdmatch __P((struct device *, void *, void *));
-void xdattach __P((struct device *, struct device *, void *));
+int xdcmatch(struct device *, void *, void *);
+void xdcattach(struct device *, struct device *, void *);
+int xdmatch(struct device *, void *, void *);
+void xdattach(struct device *, struct device *, void *);
-static void xddummystrat __P((struct buf *));
-int xdgetdisklabel __P((struct xd_softc *, void *));
+static void xddummystrat(struct buf *);
+int xdgetdisklabel(struct xd_softc *, void *);
/*
* cfdrivers: device driver interface to autoconfig