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/sbus/esp_sbus.c | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/dev/sbus/esp_sbus.c')
-rw-r--r-- | sys/dev/sbus/esp_sbus.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/sys/dev/sbus/esp_sbus.c b/sys/dev/sbus/esp_sbus.c index d9550d80493..816bd91ec7f 100644 --- a/sys/dev/sbus/esp_sbus.c +++ b/sys/dev/sbus/esp_sbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: esp_sbus.c,v 1.5 2001/09/27 04:01:42 jason Exp $ */ +/* $OpenBSD: esp_sbus.c,v 1.6 2002/03/14 01:27:02 millert Exp $ */ /* $NetBSD: esp_sbus.c,v 1.14 2001/04/25 17:53:37 bouyer Exp $ */ /*- @@ -90,9 +90,9 @@ struct esp_softc { int sc_pri; /* SBUS priority */ }; -void espattach_sbus __P((struct device *, struct device *, void *)); -void espattach_dma __P((struct device *, struct device *, void *)); -int espmatch_sbus __P((struct device *, void *, void *)); +void espattach_sbus(struct device *, struct device *, void *); +void espattach_dma(struct device *, struct device *, void *); +int espmatch_sbus(struct device *, void *, void *); /* Linkup to the rest of the kernel */ @@ -106,18 +106,18 @@ struct cfattach esp_dma_ca = { /* * Functions and the switch for the MI code. */ -static u_char esp_read_reg __P((struct ncr53c9x_softc *, int)); -static void esp_write_reg __P((struct ncr53c9x_softc *, int, u_char)); -static u_char esp_rdreg1 __P((struct ncr53c9x_softc *, int)); -static void esp_wrreg1 __P((struct ncr53c9x_softc *, int, u_char)); -static int esp_dma_isintr __P((struct ncr53c9x_softc *)); -static void esp_dma_reset __P((struct ncr53c9x_softc *)); -static int esp_dma_intr __P((struct ncr53c9x_softc *)); -static int esp_dma_setup __P((struct ncr53c9x_softc *, caddr_t *, - size_t *, int, size_t *)); -static void esp_dma_go __P((struct ncr53c9x_softc *)); -static void esp_dma_stop __P((struct ncr53c9x_softc *)); -static int esp_dma_isactive __P((struct ncr53c9x_softc *)); +static u_char esp_read_reg(struct ncr53c9x_softc *, int); +static void esp_write_reg(struct ncr53c9x_softc *, int, u_char); +static u_char esp_rdreg1(struct ncr53c9x_softc *, int); +static void esp_wrreg1(struct ncr53c9x_softc *, int, u_char); +static int esp_dma_isintr(struct ncr53c9x_softc *); +static void esp_dma_reset(struct ncr53c9x_softc *); +static int esp_dma_intr(struct ncr53c9x_softc *); +static int esp_dma_setup(struct ncr53c9x_softc *, caddr_t *, + size_t *, int, size_t *); +static void esp_dma_go(struct ncr53c9x_softc *); +static void esp_dma_stop(struct ncr53c9x_softc *); +static int esp_dma_isactive(struct ncr53c9x_softc *); static struct ncr53c9x_glue esp_sbus_glue = { esp_read_reg, @@ -145,7 +145,7 @@ static struct ncr53c9x_glue esp_sbus_glue1 = { NULL, /* gl_clear_latched_intr */ }; -static void espattach __P((struct esp_softc *, struct ncr53c9x_glue *)); +static void espattach(struct esp_softc *, struct ncr53c9x_glue *); int espmatch_sbus(parent, vcf, aux) @@ -725,7 +725,7 @@ esp_dma_isactive(sc) #include <machine/db_machdep.h> #include <ddb/db_output.h> -void db_esp __P((db_expr_t, int, db_expr_t, char*)); +void db_esp(db_expr_t, int, db_expr_t, char*); void db_esp(addr, have_addr, count, modif) |