summaryrefslogtreecommitdiff
path: root/sys/arch/bebox
diff options
context:
space:
mode:
authordsl <dsl@NetBSD.org>2009-03-14 14:45:51 +0000
committerdsl <dsl@NetBSD.org>2009-03-14 14:45:51 +0000
commit02cdf4d2c869ecfa1ae5484cf77eefe2fbcc6d94 (patch)
tree9a02e625d403e5fcedfdc6be4803e2404356bf31 /sys/arch/bebox
parentdfbb3f921a23a1aba4463f31ef9233ac94ce606c (diff)
Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball. i386 and amd64 GENERIC and sys still build.
Diffstat (limited to 'sys/arch/bebox')
-rw-r--r--sys/arch/bebox/include/bootinfo.h4
-rw-r--r--sys/arch/bebox/include/powerpc.h6
-rw-r--r--sys/arch/bebox/stand/boot/cons.h12
-rw-r--r--sys/arch/bebox/stand/boot/ns16550.h12
4 files changed, 17 insertions, 17 deletions
diff --git a/sys/arch/bebox/include/bootinfo.h b/sys/arch/bebox/include/bootinfo.h
index 20a43c19241..b6bae787618 100644
--- a/sys/arch/bebox/include/bootinfo.h
+++ b/sys/arch/bebox/include/bootinfo.h
@@ -1,4 +1,4 @@
-/* $NetBSD: bootinfo.h,v 1.4 2005/12/11 12:17:03 christos Exp $ */
+/* $NetBSD: bootinfo.h,v 1.5 2009/03/14 14:45:58 dsl Exp $ */
/*
* Copyright (c) 1997
@@ -56,7 +56,7 @@ struct btinfo_clock {
};
#ifdef _KERNEL
-void *lookup_bootinfo __P((int));
+void *lookup_bootinfo(int);
#endif
#define BOOTINFO_MAXSIZE 0xd0
diff --git a/sys/arch/bebox/include/powerpc.h b/sys/arch/bebox/include/powerpc.h
index 1423f283383..57926a4ea8b 100644
--- a/sys/arch/bebox/include/powerpc.h
+++ b/sys/arch/bebox/include/powerpc.h
@@ -1,4 +1,4 @@
-/* $NetBSD: powerpc.h,v 1.7 2007/10/17 19:54:00 garbled Exp $ */
+/* $NetBSD: powerpc.h,v 1.8 2009/03/14 14:45:58 dsl Exp $ */
/*
* Copyright (C) 1996 Wolfgang Solfrank.
@@ -45,7 +45,7 @@ void mem_regions(struct mem_region **, struct mem_region **);
*
* Not sure whether boot itself should be implementation dependent instead. XXX
*/
-void ppc_exit __P((void)) __attribute__((__noreturn__));
-void ppc_boot __P((char *bootspec)) __attribute__((__noreturn__));
+void ppc_exit(void) __attribute__((__noreturn__));
+void ppc_boot(char *bootspec) __attribute__((__noreturn__));
#endif /* _MACHINE_POWERPC_H_ */
diff --git a/sys/arch/bebox/stand/boot/cons.h b/sys/arch/bebox/stand/boot/cons.h
index e726cb9048d..b3e5a3c1c2b 100644
--- a/sys/arch/bebox/stand/boot/cons.h
+++ b/sys/arch/bebox/stand/boot/cons.h
@@ -1,4 +1,4 @@
-/* $NetBSD: cons.h,v 1.6 2005/12/11 12:17:04 christos Exp $ */
+/* $NetBSD: cons.h,v 1.7 2009/03/14 14:45:58 dsl Exp $ */
/*
* Copyright (c) 1990, 1993
@@ -81,15 +81,15 @@ struct consdev {
int address; /* address */
int speed; /* speed(serial only) */
void (*cn_probe) /* probe hardware and fill in consdev info */
- __P((struct consdev *));
+(struct consdev *);
void (*cn_init) /* turn on as console */
- __P((struct consdev *));
+(struct consdev *);
int (*cn_getc) /* getchar interface */
- __P((void *));
+(void *);
void (*cn_putc) /* putchar interface */
- __P((void *, int));
+(void *, int);
int (*cn_scan) /* scan interface */
- __P((void *));
+(void *);
int cn_pri; /* pecking order; the higher the better */
void *cn_dev; /* device data tag */
};
diff --git a/sys/arch/bebox/stand/boot/ns16550.h b/sys/arch/bebox/stand/boot/ns16550.h
index acb125a204c..4afe28a238a 100644
--- a/sys/arch/bebox/stand/boot/ns16550.h
+++ b/sys/arch/bebox/stand/boot/ns16550.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ns16550.h,v 1.4 1999/06/28 01:20:45 sakamoto Exp $ */
+/* $NetBSD: ns16550.h,v 1.5 2009/03/14 14:45:58 dsl Exp $ */
/*-
* Copyright (C) 1995-1997 Gary Thomas (gdt@linuxppc.org)
@@ -66,8 +66,8 @@ struct NS16550
#define COM3 0x380
#define COM4 0x388
-extern volatile struct NS16550 *NS16550_init __P((int, int));
-extern void NS16550_putc __P((volatile struct NS16550 *, int));
-extern int NS16550_getc __P((volatile struct NS16550 *));
-extern int NS16550_scankbd __P((volatile struct NS16550 *));
-extern int NS16550_test __P((volatile struct NS16550 *));
+extern volatile struct NS16550 *NS16550_init(int, int);
+extern void NS16550_putc(volatile struct NS16550 *, int);
+extern int NS16550_getc(volatile struct NS16550 *);
+extern int NS16550_scankbd(volatile struct NS16550 *);
+extern int NS16550_test(volatile struct NS16550 *);