Remove __P().

This commit is contained in:
tsutsui 2002-12-20 16:23:46 +00:00
parent a3a041633d
commit 0687b33b99
8 changed files with 49 additions and 51 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: hb.c,v 1.9 2002/10/02 04:40:08 thorpej Exp $ */
/* $NetBSD: hb.c,v 1.10 2002/12/20 16:23:46 tsutsui Exp $ */
/*-
* Copyright (C) 1999 Izumi Tsutsui. All rights reserved.
@ -37,10 +37,10 @@
#include <news68k/news68k/isr.h>
#include <news68k/dev/hbvar.h>
static int hb_match __P((struct device *, struct cfdata *, void *));
static void hb_attach __P((struct device *, struct device *, void *));
static int hb_search __P((struct device *, struct cfdata *, void *));
static int hb_print __P((void *, const char *));
static int hb_match(struct device *, struct cfdata *, void *);
static void hb_attach(struct device *, struct device *, void *);
static int hb_search(struct device *, struct cfdata *, void *);
static int hb_print(void *, const char *);
CFATTACH_DECL(hb, sizeof(struct device),
hb_match, hb_attach, NULL, NULL);
@ -131,7 +131,7 @@ hb_print(args, name)
void
hb_intr_establish(hbvect, hand, ipl, arg)
int hbvect;
int (*hand) __P((void *)), ipl;
int (*hand)(void *), ipl;
void *arg;
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: hbvar.h,v 1.4 2002/10/02 20:21:32 jdolecek Exp $ */
/* $NetBSD: hbvar.h,v 1.5 2002/12/20 16:23:46 tsutsui Exp $ */
/*-
* Copyright (C) 1999 Izumi Tsutsui. All rights reserved.
@ -46,5 +46,5 @@ struct hb_attach_args {
int ha_vect; /* interrupt vector */
};
void hb_intr_establish __P((int, int (*)(void *), int, void *));
void hb_intr_disestablish __P((int));
void hb_intr_establish(int, int (*)(void *), int, void *);
void hb_intr_disestablish(int);

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_le.c,v 1.5 2002/10/02 04:40:08 thorpej Exp $ */
/* $NetBSD: if_le.c,v 1.6 2002/12/20 16:23:47 tsutsui Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -86,8 +86,8 @@ struct le_softc {
struct lereg1 *sc_r1; /* LANCE registers */
};
static int le_match __P((struct device *, struct cfdata *, void *));
static void le_attach __P((struct device *, struct device *, void *));
static int le_match(struct device *, struct cfdata *, void *);
static void le_attach(struct device *, struct device *, void *);
CFATTACH_DECL(le, sizeof(struct le_softc),
le_match, le_attach, NULL, NULL);
@ -106,9 +106,9 @@ extern volatile u_char *lance_mem, *idrom_addr;
#define hide static
#endif
hide void lewrcsr __P((struct lance_softc *, u_int16_t, u_int16_t));
hide u_int16_t lerdcsr __P((struct lance_softc *, u_int16_t));
int leintr __P((int));
hide void lewrcsr(struct lance_softc *, u_int16_t, u_int16_t);
hide u_int16_t lerdcsr(struct lance_softc *, u_int16_t);
int leintr(int);
hide void
lewrcsr(sc, port, val)

View File

@ -1,4 +1,4 @@
/* $NetBSD: kbc.c,v 1.3 2002/10/02 04:40:08 thorpej Exp $ */
/* $NetBSD: kbc.c,v 1.4 2002/12/20 16:23:47 tsutsui Exp $ */
/*-
* Copyright (C) 2001 Izumi Tsutsui. All rights reserved.
@ -44,9 +44,9 @@
#define KBC_SIZE 0x10 /* XXX */
/* Definition of the driver for autoconfig. */
static int kbc_match __P((struct device *, struct cfdata *, void *));
static void kbc_attach __P((struct device *, struct device *, void *));
static int kbc_print __P((void *, const char *name));
static int kbc_match(struct device *, struct cfdata *, void *);
static void kbc_attach(struct device *, struct device *, void *);
static int kbc_print(void *, const char *name);
CFATTACH_DECL(kbc, sizeof(struct device),
kbc_match, kbc_attach, NULL, NULL);

View File

@ -1,4 +1,4 @@
/* $NetBSD: mkclock_hb.c,v 1.4 2002/10/02 04:40:08 thorpej Exp $ */
/* $NetBSD: mkclock_hb.c,v 1.5 2002/12/20 16:23:47 tsutsui Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -51,8 +51,8 @@
#include <news68k/dev/hbvar.h>
int mkclock_hb_match __P((struct device *, struct cfdata *, void *));
void mkclock_hb_attach __P((struct device *, struct device *, void *));
int mkclock_hb_match(struct device *, struct cfdata *, void *);
void mkclock_hb_attach(struct device *, struct device *, void *);
CFATTACH_DECL(mkclock_hb, sizeof(struct device),
mkclock_hb_match, mkclock_hb_attach, NULL, NULL);

View File

@ -1,4 +1,4 @@
/* $NetBSD: si.c,v 1.10 2002/10/20 02:37:31 chs Exp $ */
/* $NetBSD: si.c,v 1.11 2002/12/20 16:23:47 tsutsui Exp $ */
/*
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -79,17 +79,17 @@ struct si_softc {
struct si_dma_handle ncr_dma[SCI_OPENINGS];
};
void si_attach __P((struct device *, struct device *, void *));
int si_match __P((struct device *, struct cfdata *, void *));
int si_intr __P((int));
void si_attach(struct device *, struct device *, void *);
int si_match(struct device *, struct cfdata *, void *);
int si_intr(int);
void si_dma_alloc __P((struct ncr5380_softc *));
void si_dma_free __P((struct ncr5380_softc *));
void si_dma_setup __P((struct ncr5380_softc *));
void si_dma_start __P((struct ncr5380_softc *));
void si_dma_poll __P((struct ncr5380_softc *));
void si_dma_eop __P((struct ncr5380_softc *));
void si_dma_stop __P((struct ncr5380_softc *));
void si_dma_alloc(struct ncr5380_softc *);
void si_dma_free(struct ncr5380_softc *);
void si_dma_setup(struct ncr5380_softc *);
void si_dma_start(struct ncr5380_softc *);
void si_dma_poll(struct ncr5380_softc *);
void si_dma_eop(struct ncr5380_softc *);
void si_dma_stop(struct ncr5380_softc *);
CFATTACH_DECL(si, sizeof(struct si_softc),
si_match, si_attach, NULL, NULL);

View File

@ -1,4 +1,4 @@
/* $NetBSD: timer_hb.c,v 1.3 2002/10/02 04:40:08 thorpej Exp $ */
/* $NetBSD: timer_hb.c,v 1.4 2002/12/20 16:23:48 tsutsui Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -65,9 +65,9 @@ void timer_hb_attach(struct device *, struct device *, void *);
void timer_hb_initclocks(int, int);
void clock_intr(struct clockframe *);
static __inline void leds_intr __P((void));
static __inline void leds_intr(void);
extern void _isr_clock __P((void)); /* locore.s */
extern void _isr_clock(void); /* locore.s */
CFATTACH_DECL(timer_hb, sizeof(struct device),
timer_hb_match, timer_hb_attach, NULL, NULL);

View File

@ -1,4 +1,4 @@
/* $NetBSD: zs.c,v 1.9 2002/10/02 04:40:09 thorpej Exp $ */
/* $NetBSD: zs.c,v 1.10 2002/12/20 16:23:48 tsutsui Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -63,10 +63,8 @@
#include <news68k/dev/hbvar.h>
int zs_getc __P((void *));
void zs_putc __P((void *, int));
extern void Debugger __P((void));
int zs_getc(void *);
void zs_putc(void *, int);
/*
* Some warts needed by z8530tty.c -
@ -143,19 +141,19 @@ static u_char zs_init_reg[16] = {
****************************************************************/
/* Definition of the driver for autoconfig. */
static int zs_match __P((struct device *, struct cfdata *, void *));
static void zs_attach __P((struct device *, struct device *, void *));
static int zs_print __P((void *, const char *name));
static int zs_match(struct device *, struct cfdata *, void *);
static void zs_attach(struct device *, struct device *, void *);
static int zs_print(void *, const char *name);
CFATTACH_DECL(zsc, sizeof(struct zsc_softc),
zs_match, zs_attach, NULL, NULL);
extern struct cfdriver zsc_cd;
static int zshard __P((void *));
void zssoft __P((void *));
static int zshard(void *);
void zssoft(void *);
#if 0
static int zs_get_speed __P((struct zs_chanstate *));
static int zs_get_speed(struct zs_chanstate *);
#endif
/*
@ -574,10 +572,10 @@ zs_putc(arg, c)
/*****************************************************************/
static void zscnprobe __P((struct consdev *));
static void zscninit __P((struct consdev *));
static int zscngetc __P((dev_t));
static void zscnputc __P((dev_t, int));
static void zscnprobe(struct consdev *);
static void zscninit(struct consdev *);
static int zscngetc(dev_t);
static void zscnputc(dev_t, int);
struct consdev consdev_zs = {
zscnprobe,