Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mac68k remove some more __P that I missed before.



details:   https://anonhg.NetBSD.org/src/rev/cf1b7dd6f68b
branches:  trunk
changeset: 574591:cf1b7dd6f68b
user:      chs <chs%NetBSD.org@localhost>
date:      Sat Mar 05 17:34:06 2005 +0000

description:
remove some more __P that I missed before.

diffstat:

 sys/arch/mac68k/dev/sbcvar.h     |   4 ++--
 sys/arch/mac68k/mac68k/intr.c    |   6 +++---
 sys/arch/mac68k/mac68k/machdep.c |   7 +++----
 sys/arch/mac68k/mac68k/pram.h    |  13 ++++++-------
 sys/arch/mac68k/mac68k/via.c     |  10 +++++-----
 5 files changed, 19 insertions(+), 21 deletions(-)

diffs (156 lines):

diff -r 24e82d0ffd32 -r cf1b7dd6f68b sys/arch/mac68k/dev/sbcvar.h
--- a/sys/arch/mac68k/dev/sbcvar.h      Sat Mar 05 17:31:07 2005 +0000
+++ b/sys/arch/mac68k/dev/sbcvar.h      Sat Mar 05 17:34:06 2005 +0000
@@ -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 @@
        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];
diff -r 24e82d0ffd32 -r cf1b7dd6f68b sys/arch/mac68k/mac68k/intr.c
--- a/sys/arch/mac68k/mac68k/intr.c     Sat Mar 05 17:31:07 2005 +0000
+++ b/sys/arch/mac68k/mac68k/intr.c     Sat Mar 05 17:34:06 2005 +0000
@@ -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 @@
 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,
diff -r 24e82d0ffd32 -r cf1b7dd6f68b sys/arch/mac68k/mac68k/machdep.c
--- a/sys/arch/mac68k/mac68k/machdep.c  Sat Mar 05 17:31:07 2005 +0000
+++ b/sys/arch/mac68k/mac68k/machdep.c  Sat Mar 05 17:34:06 2005 +0000
@@ -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 @@
        DCIS();
 }
 
-void doboot __P((void))
-       __attribute__((__noreturn__));
+void doboot(void) __attribute__((__noreturn__));
 
 /*
  * Set registers on exec.
diff -r 24e82d0ffd32 -r cf1b7dd6f68b sys/arch/mac68k/mac68k/pram.h
--- a/sys/arch/mac68k/mac68k/pram.h     Sat Mar 05 17:31:07 2005 +0000
+++ b/sys/arch/mac68k/mac68k/pram.h     Sat Mar 05 17:34:06 2005 +0000
@@ -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 @@
  */
 
 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 @@
 void           setPramTimeII(unsigned long);
 
 #endif /* !MRG_ADB */
-
diff -r 24e82d0ffd32 -r cf1b7dd6f68b sys/arch/mac68k/mac68k/via.c
--- a/sys/arch/mac68k/mac68k/via.c      Sat Mar 05 17:31:07 2005 +0000
+++ b/sys/arch/mac68k/mac68k/via.c      Sat Mar 05 17:34:06 2005 +0000
@@ -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 @@
 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 @@
 };
 
 /* VIA2 interrupt handler table */
-void (*via2itab[7]) __P((void *)) = {
+void (*via2itab[7])(void *) = {
        via2_noint,
        via2_nubus_intr,
        via2_noint,
@@ -121,7 +121,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,



Home | Main Index | Thread Index | Old Index