summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/stand
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
commit8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch)
treeac9a52bace179e17769651fb9f805070d78abe5f /sys/arch/alpha/stand
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/arch/alpha/stand')
-rw-r--r--sys/arch/alpha/stand/boot/boot.c4
-rw-r--r--sys/arch/alpha/stand/boot/conf.c4
-rw-r--r--sys/arch/alpha/stand/boot/disk.h8
-rw-r--r--sys/arch/alpha/stand/bootxx.c4
-rw-r--r--sys/arch/alpha/stand/installboot.c12
-rw-r--r--sys/arch/alpha/stand/loadfile.c8
-rw-r--r--sys/arch/alpha/stand/netboot/dev_net.h6
-rw-r--r--sys/arch/alpha/stand/netboot/netboot.c4
8 files changed, 25 insertions, 25 deletions
diff --git a/sys/arch/alpha/stand/boot/boot.c b/sys/arch/alpha/stand/boot/boot.c
index 5210fadcd7b..612d2ce60e4 100644
--- a/sys/arch/alpha/stand/boot/boot.c
+++ b/sys/arch/alpha/stand/boot/boot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: boot.c,v 1.13 2001/05/16 00:38:16 deraadt Exp $ */
+/* $OpenBSD: boot.c,v 1.14 2002/03/14 01:26:27 millert Exp $ */
/* $NetBSD: boot.c,v 1.10 1997/01/18 01:58:33 cgd Exp $ */
/*
@@ -53,7 +53,7 @@
#define _KERNEL
#include "include/pte.h"
-int loadfile __P((char *, u_int64_t *));
+int loadfile(char *, u_int64_t *);
char boot_file[128];
char boot_flags[128];
diff --git a/sys/arch/alpha/stand/boot/conf.c b/sys/arch/alpha/stand/boot/conf.c
index 3883551a738..84063c8dfc0 100644
--- a/sys/arch/alpha/stand/boot/conf.c
+++ b/sys/arch/alpha/stand/boot/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.4 1996/10/30 22:40:40 niklas Exp $ */
+/* $OpenBSD: conf.c,v 1.5 2002/03/14 01:26:27 millert Exp $ */
/* $NetBSD: conf.c,v 1.3 1995/11/23 02:39:31 cgd Exp $ */
/*
@@ -44,7 +44,7 @@
#include "disk.h"
-int diskopen __P((struct open_file *, ...)); /* XXX */
+int diskopen(struct open_file *, ...); /* XXX */
int errno;
diff --git a/sys/arch/alpha/stand/boot/disk.h b/sys/arch/alpha/stand/boot/disk.h
index 264c773ceea..68ff7bda459 100644
--- a/sys/arch/alpha/stand/boot/disk.h
+++ b/sys/arch/alpha/stand/boot/disk.h
@@ -1,8 +1,8 @@
-/* $OpenBSD: disk.h,v 1.3 1996/10/30 22:40:42 niklas Exp $ */
+/* $OpenBSD: disk.h,v 1.4 2002/03/14 01:26:27 millert Exp $ */
/* $NetBSD: disk.h,v 1.1 1995/11/23 02:39:42 cgd Exp $ */
-int diskstrategy __P((void *, int, daddr_t, size_t, void *, size_t *));
-/* int diskopen __P((struct open_file *, int, int, int)); */
-int diskclose __P((struct open_file *));
+int diskstrategy(void *, int, daddr_t, size_t, void *, size_t *);
+/* int diskopen(struct open_file *, int, int, int); */
+int diskclose(struct open_file *);
#define diskioctl noioctl
diff --git a/sys/arch/alpha/stand/bootxx.c b/sys/arch/alpha/stand/bootxx.c
index 34ee4ef9e1e..0dcf15ee611 100644
--- a/sys/arch/alpha/stand/bootxx.c
+++ b/sys/arch/alpha/stand/bootxx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bootxx.c,v 1.8 1998/03/06 05:17:19 millert Exp $ */
+/* $OpenBSD: bootxx.c,v 1.9 2002/03/14 01:26:27 millert Exp $ */
/* $NetBSD: bootxx.c,v 1.4 1997/01/18 00:28:59 cgd Exp $ */
/*
@@ -133,7 +133,7 @@ main()
{
struct bbinfo *bbinfop;
char *loadaddr;
- void (*entry) __P((void));
+ void (*entry)(void);
/* Init prom callback vector. */
init_prom_calls();
diff --git a/sys/arch/alpha/stand/installboot.c b/sys/arch/alpha/stand/installboot.c
index 13ab38bda97..b154692528e 100644
--- a/sys/arch/alpha/stand/installboot.c
+++ b/sys/arch/alpha/stand/installboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: installboot.c,v 1.10 1997/10/27 16:52:03 millert Exp $ */
+/* $OpenBSD: installboot.c,v 1.11 2002/03/14 01:26:27 millert Exp $ */
/* $NetBSD: installboot.c,v 1.2 1997/04/06 08:41:12 cgd Exp $ */
/*
@@ -66,11 +66,11 @@ struct bbinfo *bbinfop;
int max_block_count;
-char *loadprotoblocks __P((char *, long *));
-int loadblocknums __P((char *, int, unsigned long));
-static void devread __P((int, void *, daddr_t, size_t, char *));
-static void usage __P((void));
-int main __P((int, char *[]));
+char *loadprotoblocks(char *, long *);
+int loadblocknums(char *, int, unsigned long);
+static void devread(int, void *, daddr_t, size_t, char *);
+static void usage(void);
+int main(int, char *[]);
int isofsblk = 0;
int isofseblk = 0;
diff --git a/sys/arch/alpha/stand/loadfile.c b/sys/arch/alpha/stand/loadfile.c
index 4e46eb872a4..661d8e6dd78 100644
--- a/sys/arch/alpha/stand/loadfile.c
+++ b/sys/arch/alpha/stand/loadfile.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: loadfile.c,v 1.11 2001/05/16 00:38:15 deraadt Exp $ */
+/* $OpenBSD: loadfile.c,v 1.12 2002/03/14 01:26:27 millert Exp $ */
/* $NetBSD: loadfile.c,v 1.3 1997/04/06 08:40:59 cgd Exp $ */
/*
@@ -58,12 +58,12 @@
#include "include/pte.h"
#ifdef ALPHA_BOOT_ECOFF
-static int coff_exec __P((int, struct ecoff_exechdr *, u_int64_t *));
+static int coff_exec(int, struct ecoff_exechdr *, u_int64_t *);
#endif
#ifdef ALPHA_BOOT_ELF
-static int elf_exec __P((int, Elf64_Ehdr *, u_int64_t *));
+static int elf_exec(int, Elf64_Ehdr *, u_int64_t *);
#endif
-int loadfile __P((char *, u_int64_t *));
+int loadfile(char *, u_int64_t *);
paddr_t ffp_save, ptbr_save;
vaddr_t ssym, esym;
diff --git a/sys/arch/alpha/stand/netboot/dev_net.h b/sys/arch/alpha/stand/netboot/dev_net.h
index 3e3d4b091d6..447c71b34b6 100644
--- a/sys/arch/alpha/stand/netboot/dev_net.h
+++ b/sys/arch/alpha/stand/netboot/dev_net.h
@@ -1,8 +1,8 @@
-/* $OpenBSD: dev_net.h,v 1.1 1996/10/30 22:40:53 niklas Exp $ */
+/* $OpenBSD: dev_net.h,v 1.2 2002/03/14 01:26:27 millert Exp $ */
-int net_open __P((struct open_file *, ...));
-int net_close __P((struct open_file *));
+int net_open(struct open_file *, ...);
+int net_close(struct open_file *);
int net_ioctl();
int net_strategy();
diff --git a/sys/arch/alpha/stand/netboot/netboot.c b/sys/arch/alpha/stand/netboot/netboot.c
index 9f240bda3ca..164212c36bb 100644
--- a/sys/arch/alpha/stand/netboot/netboot.c
+++ b/sys/arch/alpha/stand/netboot/netboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netboot.c,v 1.3 1996/11/27 19:54:56 niklas Exp $ */
+/* $OpenBSD: netboot.c,v 1.4 2002/03/14 01:26:27 millert Exp $ */
/* $NetBSD: netboot.c,v 1.1 1996/09/18 20:03:12 cgd Exp $ */
/*
@@ -52,7 +52,7 @@
#define _KERNEL
#include "include/pte.h"
-int loadfile __P((char *, u_int64_t *));
+int loadfile(char *, u_int64_t *);
char boot_file[128];
char boot_flags[128];