diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
commit | 8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch) | |
tree | ac9a52bace179e17769651fb9f805070d78abe5f /sys/arch/vax/boot | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/arch/vax/boot')
-rw-r--r-- | sys/arch/vax/boot/boot/consio.c | 38 | ||||
-rw-r--r-- | sys/arch/vax/boot/boot/ctu.c | 6 | ||||
-rw-r--r-- | sys/arch/vax/boot/boot/netio.c | 4 | ||||
-rw-r--r-- | sys/arch/vax/boot/xxboot/bootxx.c | 8 |
4 files changed, 28 insertions, 28 deletions
diff --git a/sys/arch/vax/boot/boot/consio.c b/sys/arch/vax/boot/boot/consio.c index 78c50c89472..39775324c5b 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.2 2000/10/04 04:38:08 bjc Exp $ */ +/* $OpenBSD: consio.c,v 1.3 2002/03/14 01:26:47 millert Exp $ */ /* $NetBSD: consio.c,v 1.11 2000/07/19 00:58:24 matt Exp $ */ /* * Copyright (c) 1994, 1998 Ludd, University of Lule}, Sweden. @@ -44,31 +44,31 @@ #include "data.h" -void setup __P((void)); +void setup(void); unsigned *bootregs; extern struct rpb *rpb; struct bqo *bqo; -static int (*put_fp) __P((int)) = NULL; -static int (*get_fp) __P((void)) = NULL; -static int (*test_fp) __P((void)) = NULL; +static int (*put_fp)(int) = NULL; +static int (*get_fp)(void) = NULL; +static int (*test_fp)(void) = NULL; /* Also added such a thing for KA53 - MK-991208 */ unsigned char *ka53_conspage; -void ka53_consinit __P((void)); +void ka53_consinit(void); -int ka53_rom_putchar __P((int c)); -int ka53_rom_getchar __P((void)); -int ka53_rom_testchar __P((void)); +int ka53_rom_putchar(int c); +int ka53_rom_getchar(void); +int ka53_rom_testchar(void); -int pr_putchar __P((int c)); /* putchar() using mtpr/mfpr */ -int pr_getchar __P((void)); -int pr_testchar __P((void)); +int pr_putchar(int c); /* putchar() using mtpr/mfpr */ +int pr_getchar(void); +int pr_testchar(void); -int rom_putchar __P((int c)); /* putchar() using ROM routines */ -int rom_getchar __P((void)); -int rom_testchar __P((void)); +int rom_putchar(int c); /* putchar() using ROM routines */ +int rom_getchar(void); +int rom_testchar(void); static int rom_putc; /* ROM-address of put-routine */ static int rom_getc; /* ROM-address of get-routine */ @@ -88,11 +88,11 @@ static int rom_getc; /* ROM-address of get-routine */ /* Pointer to KA630 console page, initialized by ka630_consinit */ 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 */ -int ka630_rom_putchar __P((int c)); -int ka630_rom_getchar __P((void)); -int ka630_rom_testchar __P((void)); +int ka630_rom_putchar(int c); +int ka630_rom_getchar(void); +int ka630_rom_testchar(void); putchar(c) int c; diff --git a/sys/arch/vax/boot/boot/ctu.c b/sys/arch/vax/boot/boot/ctu.c index 3f2c9afb891..acdd35a7c70 100644 --- a/sys/arch/vax/boot/boot/ctu.c +++ b/sys/arch/vax/boot/boot/ctu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ctu.c,v 1.1 2000/04/27 02:26:25 bjc Exp $ */ +/* $OpenBSD: ctu.c,v 1.2 2002/03/14 01:26:47 millert Exp $ */ /* $NetBSD: ctu.c,v 1.1 1996/02/17 18:23:20 ragge Exp $ */ /* * Copyright (c) 1996 Ludd, University of Lule}, Sweden. @@ -59,8 +59,8 @@ volatile struct tu_softc { int sc_bbytes; /* Number of xfer'd bytes this block */ } tu_sc; -void ctutintr __P((void)); -void cturintr __P((void)); +void ctutintr(void); +void cturintr(void); int ctuopen(f, adapt, ctlr, unit, part) diff --git a/sys/arch/vax/boot/boot/netio.c b/sys/arch/vax/boot/boot/netio.c index f458f57d710..116e28f2c9c 100644 --- a/sys/arch/vax/boot/boot/netio.c +++ b/sys/arch/vax/boot/boot/netio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: netio.c,v 1.2 2001/04/10 12:27:54 bjc Exp $ */ +/* $OpenBSD: netio.c,v 1.3 2002/03/14 01:26:47 millert Exp $ */ /* $NetBSD: netio.c,v 1.4 1999/06/30 18:38:03 ragge Exp $ */ /*- @@ -111,7 +111,7 @@ int netio_ask = 0; /* default to bootparam, can override */ static char input_line[100]; -int netmountroot __P((struct open_file *, char *)); +int netmountroot(struct open_file *, char *); /* * Called by devopen after it sets f->f_dev to our devsw entry. diff --git a/sys/arch/vax/boot/xxboot/bootxx.c b/sys/arch/vax/boot/xxboot/bootxx.c index 62673d86b53..e91679f2a9e 100644 --- a/sys/arch/vax/boot/xxboot/bootxx.c +++ b/sys/arch/vax/boot/xxboot/bootxx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bootxx.c,v 1.2 2000/10/04 04:16:40 bjc Exp $ */ +/* $OpenBSD: bootxx.c,v 1.3 2002/03/14 01:26:47 millert Exp $ */ /* $NetBSD: bootxx.c,v 1.2 1999/10/23 14:40:38 ragge Exp $ */ /*- * Copyright (c) 1982, 1986 The Regents of the University of California. @@ -64,8 +64,8 @@ struct rom_softc { int unit; } rom_softc; -int romstrategy __P((void *, int, daddr_t, size_t, void *, size_t *)); -int romopen __P((struct open_file *, int, int, int, int)); +int romstrategy(void *, int, daddr_t, size_t, void *, size_t *); +int romopen(struct open_file *, int, int, int, int); struct fs_ops file_system[] = { { ufs_open, ufs_close, ufs_read, ufs_write, ufs_seek, ufs_stat } @@ -77,7 +77,7 @@ struct devsw devsw[] = { }; int ndevs = (sizeof(devsw)/sizeof(devsw[0])); -int command __P((int cmd, int arg)); +int command(int cmd, int arg); /* * Boot program... argume passed in r10 and r11 determine whether boot |