summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Peel <jsyn@cvs.openbsd.org>2002-08-09 20:26:46 +0000
committerJason Peel <jsyn@cvs.openbsd.org>2002-08-09 20:26:46 +0000
commit54a23347d56b87c53dd8654f4cf7b36636058de4 (patch)
tree5e796e589a8555012d5b5da90fecaa1f0d667f78 /sys/arch
parent42a64f030f357b477574f94ce6ddfda32d9c8f4e (diff)
Get rid of remaining __P usage (except for imported code);
ok millert@, rogue ok pjanzen@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/vax/bi/bi.c4
-rw-r--r--sys/arch/vax/bi/if_ni.c18
-rw-r--r--sys/arch/vax/bi/kdb.c18
-rw-r--r--sys/arch/vax/boot/boot/consio.c10
-rw-r--r--sys/arch/vax/include/macros.h4
-rw-r--r--sys/arch/vax/stand/boot/consio.c10
6 files changed, 32 insertions, 32 deletions
diff --git a/sys/arch/vax/bi/bi.c b/sys/arch/vax/bi/bi.c
index 8c49ceaf503..be59e866278 100644
--- a/sys/arch/vax/bi/bi.c
+++ b/sys/arch/vax/bi/bi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bi.c,v 1.5 2002/06/11 09:36:23 hugh Exp $ */
+/* $OpenBSD: bi.c,v 1.6 2002/08/09 20:26:44 jsyn Exp $ */
/* $NetBSD: bi.c,v 1.17 2001/11/13 12:51:34 lukem Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
@@ -53,7 +53,7 @@ __KERNEL_RCSID(0, "$NetBSD: bi.c,v 1.17 2001/11/13 12:51:34 lukem Exp $");
#include <dev/bi/bireg.h>
#include <dev/bi/bivar.h>
-static int bi_print __P((void *, const char *));
+static int bi_print(void *, const char *);
struct bi_list bi_list[] = {
{BIDT_MS820, DT_HAVDRV, "ms820"},
diff --git a/sys/arch/vax/bi/if_ni.c b/sys/arch/vax/bi/if_ni.c
index 414d84968b0..a6ce9058c53 100644
--- a/sys/arch/vax/bi/if_ni.c
+++ b/sys/arch/vax/bi/if_ni.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ni.c,v 1.1 2002/06/11 09:36:23 hugh Exp $ */
+/* $OpenBSD: if_ni.c,v 1.2 2002/08/09 20:26:44 jsyn Exp $ */
/* $NetBSD: if_ni.c,v 1.15 2002/05/22 16:03:14 wiz Exp $ */
/*
* Copyright (c) 2000 Ludd, University of Lule}, Sweden. All rights reserved.
@@ -139,15 +139,15 @@ struct ni_softc {
u_int8_t sc_enaddr[ETHER_ADDR_LEN];
};
-static int nimatch __P((struct device *, struct cfdata *, void *));
-static void niattach __P((struct device *, struct device *, void *));
-static void niinit __P((struct ni_softc *));
-static void nistart __P((struct ifnet *));
-static void niintr __P((void *));
-static int niioctl __P((struct ifnet *, u_long, caddr_t));
+static int nimatch(struct device *, struct cfdata *, void *);
+static void niattach(struct device *, struct device *, void *);
+static void niinit(struct ni_softc *);
+static void nistart(struct ifnet *);
+static void niintr(void *);
+static int niioctl(struct ifnet *, u_long, caddr_t);
static int ni_add_rxbuf(struct ni_softc *, struct ni_dg *, int);
-static void ni_setup __P((struct ni_softc *));
-static void nitimeout __P((struct ifnet *));
+static void ni_setup(struct ni_softc *);
+static void nitimeout(struct ifnet *);
static void ni_shutdown(void *);
static void ni_getpgs(struct ni_softc *sc, int size, caddr_t *v, paddr_t *p);
static int failtest(struct ni_softc *, int, int, int, char *);
diff --git a/sys/arch/vax/bi/kdb.c b/sys/arch/vax/bi/kdb.c
index f03de356ff1..9e17fb99efb 100644
--- a/sys/arch/vax/bi/kdb.c
+++ b/sys/arch/vax/bi/kdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kdb.c,v 1.7 2002/06/11 09:36:23 hugh Exp $ */
+/* $OpenBSD: kdb.c,v 1.8 2002/08/09 20:26:44 jsyn Exp $ */
/* $NetBSD: kdb.c,v 1.26 2001/11/13 12:51:34 lukem Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
@@ -90,14 +90,14 @@ struct kdb_softc {
bus_space_handle_t sc_ioh;
};
-int kdbmatch __P((struct device *, struct cfdata *, void *));
-void kdbattach __P((struct device *, struct device *, void *));
-void kdbreset __P((int));
-void kdbintr __P((void *));
-void kdbctlrdone __P((struct device *));
-int kdbprint __P((void *, const char *));
-void kdbsaerror __P((struct device *, int));
-void kdbgo __P((struct device *, struct mscp_xi *));
+int kdbmatch(struct device *, struct cfdata *, void *);
+void kdbattach(struct device *, struct device *, void *);
+void kdbreset(int);
+void kdbintr(void *);
+void kdbctlrdone(struct device *);
+int kdbprint(void *, const char *);
+void kdbsaerror(struct device *, int);
+void kdbgo(struct device *, struct mscp_xi *);
struct cfattach kdb_ca = {
sizeof(struct kdb_softc), kdbmatch, kdbattach
diff --git a/sys/arch/vax/boot/boot/consio.c b/sys/arch/vax/boot/boot/consio.c
index ddfb19c8c5b..6ff171106be 100644
--- a/sys/arch/vax/boot/boot/consio.c
+++ b/sys/arch/vax/boot/boot/consio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: consio.c,v 1.4 2002/06/11 09:36:23 hugh Exp $ */
+/* $OpenBSD: consio.c,v 1.5 2002/08/09 20:26:45 jsyn Exp $ */
/* $NetBSD: consio.c,v 1.13 2002/05/24 21:40:59 ragge Exp $ */
/*
* Copyright (c) 1994, 1998 Ludd, University of Lule}, Sweden.
@@ -66,12 +66,12 @@ int rom_getc; /* ROM-address of get-routine */
unsigned char *ka630_conspage;
/* Function that initializes things for KA630 ROM console I/O */
-void ka630_consinit __P((void));
+void ka630_consinit(void);
/* Functions that use KA630 ROM for console I/O */
-void ka630_rom_putchar __P((int c));
-int ka630_rom_getchar __P((void));
-int ka630_rom_testchar __P((void));
+void ka630_rom_putchar(int c);
+int ka630_rom_getchar(void);
+int ka630_rom_testchar(void);
/* Also added such a thing for KA53 - MK-991208 */
unsigned char *ka53_conspage;
diff --git a/sys/arch/vax/include/macros.h b/sys/arch/vax/include/macros.h
index 533935fd42b..a29bf8aa81b 100644
--- a/sys/arch/vax/include/macros.h
+++ b/sys/arch/vax/include/macros.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: macros.h,v 1.10 2002/06/11 09:36:24 hugh Exp $ */
+/* $OpenBSD: macros.h,v 1.11 2002/08/09 20:26:45 jsyn Exp $ */
/* $NetBSD: macros.h,v 1.20 2000/07/19 01:02:52 matt Exp $ */
/*
@@ -100,7 +100,7 @@ bcopy(const void *from, void *toe, size_t len)
}
#endif
-void blkclr __P((void *, size_t));
+void blkclr(void *, size_t);
static __inline__ void *
memset(void *block, int c, size_t len)
diff --git a/sys/arch/vax/stand/boot/consio.c b/sys/arch/vax/stand/boot/consio.c
index ddfb19c8c5b..6ff171106be 100644
--- a/sys/arch/vax/stand/boot/consio.c
+++ b/sys/arch/vax/stand/boot/consio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: consio.c,v 1.4 2002/06/11 09:36:23 hugh Exp $ */
+/* $OpenBSD: consio.c,v 1.5 2002/08/09 20:26:45 jsyn Exp $ */
/* $NetBSD: consio.c,v 1.13 2002/05/24 21:40:59 ragge Exp $ */
/*
* Copyright (c) 1994, 1998 Ludd, University of Lule}, Sweden.
@@ -66,12 +66,12 @@ int rom_getc; /* ROM-address of get-routine */
unsigned char *ka630_conspage;
/* Function that initializes things for KA630 ROM console I/O */
-void ka630_consinit __P((void));
+void ka630_consinit(void);
/* Functions that use KA630 ROM for console I/O */
-void ka630_rom_putchar __P((int c));
-int ka630_rom_getchar __P((void));
-int ka630_rom_testchar __P((void));
+void ka630_rom_putchar(int c);
+int ka630_rom_getchar(void);
+int ka630_rom_testchar(void);
/* Also added such a thing for KA53 - MK-991208 */
unsigned char *ka53_conspage;