remove some more __P that I missed before.
This commit is contained in:
parent
07ad370ac0
commit
805f942254
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sbcvar.h,v 1.10 2005/01/15 16:00:59 chs Exp $ */
|
||||
/* $NetBSD: sbcvar.h,v 1.11 2005/03/05 17:34:06 chs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1996 Scott Reynolds. All rights reserved.
|
||||
@ -59,7 +59,7 @@ struct sbc_softc {
|
||||
volatile struct sbc_regs *sc_regs;
|
||||
volatile vaddr_t sc_drq_addr;
|
||||
volatile vaddr_t sc_nodrq_addr;
|
||||
void (*sc_clrintr) __P((struct ncr5380_softc *));
|
||||
void (*sc_clrintr)(struct ncr5380_softc *);
|
||||
volatile int sc_resid;
|
||||
int sc_options; /* options for this instance. */
|
||||
struct sbc_pdma_handle sc_pdma[SCI_OPENINGS];
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: intr.c,v 1.20 2005/01/15 16:00:59 chs Exp $ */
|
||||
/* $NetBSD: intr.c,v 1.21 2005/03/05 17:34:06 chs Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
|
||||
@ -41,7 +41,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.20 2005/01/15 16:00:59 chs Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.21 2005/03/05 17:34:06 chs Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -64,7 +64,7 @@ __KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.20 2005/01/15 16:00:59 chs Exp $");
|
||||
static int intr_noint(void *);
|
||||
void netintr(void);
|
||||
|
||||
static int ((*intr_func[NISR]) __P((void *))) = {
|
||||
static int ((*intr_func[NISR])(void *)) = {
|
||||
intr_noint,
|
||||
intr_noint,
|
||||
intr_noint,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: machdep.c,v 1.302 2005/02/11 15:03:56 yamt Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.303 2005/03/05 17:34:06 chs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1990 The Regents of the University of California.
|
||||
@ -107,7 +107,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.302 2005/02/11 15:03:56 yamt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.303 2005/03/05 17:34:06 chs Exp $");
|
||||
|
||||
#include "opt_adb.h"
|
||||
#include "opt_ddb.h"
|
||||
@ -492,8 +492,7 @@ initcpu(void)
|
||||
DCIS();
|
||||
}
|
||||
|
||||
void doboot __P((void))
|
||||
__attribute__((__noreturn__));
|
||||
void doboot(void) __attribute__((__noreturn__));
|
||||
|
||||
/*
|
||||
* Set registers on exec.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pram.h,v 1.5 2005/01/15 16:00:59 chs Exp $ */
|
||||
/* $NetBSD: pram.h,v 1.6 2005/03/05 17:34:06 chs Exp $ */
|
||||
|
||||
/*
|
||||
* RTC toolkit version 1.08b, copyright 1995, erik vogan
|
||||
@ -56,10 +56,10 @@
|
||||
* warned!!
|
||||
*/
|
||||
|
||||
void readPram (char *addr, int loc, int len);
|
||||
void writePram (char *addr, int loc, int len);
|
||||
void readExtPram (char *addr, int loc, int len);
|
||||
void writeExtPram(char *addr, int loc, int len);
|
||||
void readPram(char *, int, int);
|
||||
void writePram(char *, int, int);
|
||||
void readExtPram(char *, int, int);
|
||||
void writeExtPram(char *, int, int);
|
||||
|
||||
/*
|
||||
* The following routines are used to get/set the PRAM time
|
||||
@ -67,7 +67,7 @@ void writeExtPram(char *addr, int loc, int len);
|
||||
*/
|
||||
|
||||
unsigned long getPramTime(void);
|
||||
void setPramTime __P((unsigned long));
|
||||
void setPramTime(unsigned long);
|
||||
|
||||
unsigned long pram_readtime(void);
|
||||
void pram_settime(unsigned long);
|
||||
@ -81,4 +81,3 @@ unsigned long getPramTimeII(void);
|
||||
void setPramTimeII(unsigned long);
|
||||
|
||||
#endif /* !MRG_ADB */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: via.c,v 1.73 2005/01/15 16:00:59 chs Exp $ */
|
||||
/* $NetBSD: via.c,v 1.74 2005/03/05 17:34:06 chs Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1993 Allen K. Briggs, Chris P. Caputo,
|
||||
@ -39,7 +39,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: via.c,v 1.73 2005/01/15 16:00:59 chs Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: via.c,v 1.74 2005/03/05 17:34:06 chs Exp $");
|
||||
|
||||
#include "opt_mac68k.h"
|
||||
|
||||
@ -72,7 +72,7 @@ static void slot_noint(void *);
|
||||
int VIA2 = VIA2OFF; /* default for II, IIx, IIcx, SE/30. */
|
||||
|
||||
/* VIA1 interrupt handler table */
|
||||
void (*via1itab[7]) __P((void *)) = {
|
||||
void (*via1itab[7])(void *) = {
|
||||
via1_noint,
|
||||
via1_noint,
|
||||
mrg_adbintr,
|
||||
@ -94,7 +94,7 @@ void *via1iarg[7] = {
|
||||
};
|
||||
|
||||
/* VIA2 interrupt handler table */
|
||||
void (*via2itab[7]) __P((void *)) = {
|
||||
void (*via2itab[7])(void *) = {
|
||||
via2_noint,
|
||||
via2_nubus_intr,
|
||||
via2_noint,
|
||||
@ -121,7 +121,7 @@ void *via2iarg[7] = {
|
||||
* as a slot 15 interrupt; this slot is quite fictitious in real-world
|
||||
* Macs. See also GMFH, pp. 165-167, and "Monster, Loch Ness."
|
||||
*/
|
||||
void (*slotitab[7]) __P((void *)) = {
|
||||
void (*slotitab[7])(void *) = {
|
||||
slot_noint,
|
||||
slot_noint,
|
||||
slot_noint,
|
||||
|
Loading…
Reference in New Issue
Block a user