From 8327d0774703553db5e1a41a04bfdf4b1797c2ce Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 14 Mar 2002 01:27:20 +0000 Subject: First round of __P removal in sys --- sys/dev/ic/am79c930var.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'sys/dev/ic/am79c930var.h') diff --git a/sys/dev/ic/am79c930var.h b/sys/dev/ic/am79c930var.h index 82510940a8a..d85a071533e 100644 --- a/sys/dev/ic/am79c930var.h +++ b/sys/dev/ic/am79c930var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: am79c930var.h,v 1.3 2001/07/04 09:02:58 niklas Exp $ */ +/* $OpenBSD: am79c930var.h,v 1.4 2002/03/14 01:26:54 millert Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -54,23 +54,23 @@ struct am79c930_softc struct am79c930_ops { - void (*write_1) __P((struct am79c930_softc *, u_int32_t, u_int8_t)); - void (*write_2) __P((struct am79c930_softc *, u_int32_t, u_int16_t)); - void (*write_4) __P((struct am79c930_softc *, u_int32_t, u_int32_t)); - void (*write_bytes) __P((struct am79c930_softc *, u_int32_t, u_int8_t *, size_t)); + void (*write_1)(struct am79c930_softc *, u_int32_t, u_int8_t); + void (*write_2)(struct am79c930_softc *, u_int32_t, u_int16_t); + void (*write_4)(struct am79c930_softc *, u_int32_t, u_int32_t); + void (*write_bytes)(struct am79c930_softc *, u_int32_t, u_int8_t *, size_t); - u_int8_t (*read_1) __P((struct am79c930_softc *, u_int32_t)); - u_int16_t (*read_2) __P((struct am79c930_softc *, u_int32_t)); - u_int32_t (*read_4) __P((struct am79c930_softc *, u_int32_t)); - void (*read_bytes) __P((struct am79c930_softc *, u_int32_t, u_int8_t *, size_t)); + u_int8_t (*read_1)(struct am79c930_softc *, u_int32_t); + u_int16_t (*read_2)(struct am79c930_softc *, u_int32_t); + u_int32_t (*read_4)(struct am79c930_softc *, u_int32_t); + void (*read_bytes)(struct am79c930_softc *, u_int32_t, u_int8_t *, size_t); }; -void am79c930_chip_init __P((struct am79c930_softc *sc, int)); +void am79c930_chip_init(struct am79c930_softc *sc, int); -void am79c930_gcr_setbits __P((struct am79c930_softc *sc, u_int8_t bits)); -void am79c930_gcr_clearbits __P((struct am79c930_softc *sc, u_int8_t bits)); +void am79c930_gcr_setbits(struct am79c930_softc *sc, u_int8_t bits); +void am79c930_gcr_clearbits(struct am79c930_softc *sc, u_int8_t bits); -u_int8_t am79c930_gcr_read __P((struct am79c930_softc *sc)); +u_int8_t am79c930_gcr_read(struct am79c930_softc *sc); #define am79c930_hard_reset(sc) am79c930_gcr_setbits(sc, AM79C930_GCR_CORESET) #define am79c930_hard_reset_off(sc) am79c930_gcr_clearbits(sc, AM79C930_GCR_CORESET) -- cgit v1.2.3