diff options
| author | dsl <dsl@NetBSD.org> | 2009-03-14 14:45:51 +0000 |
|---|---|---|
| committer | dsl <dsl@NetBSD.org> | 2009-03-14 14:45:51 +0000 |
| commit | 02cdf4d2c869ecfa1ae5484cf77eefe2fbcc6d94 (patch) | |
| tree | 9a02e625d403e5fcedfdc6be4803e2404356bf31 /sys/arch/amiga/include | |
| parent | dfbb3f921a23a1aba4463f31ef9233ac94ce606c (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/amiga/include')
| -rw-r--r-- | sys/arch/amiga/include/bus.h | 6 | ||||
| -rw-r--r-- | sys/arch/amiga/include/cpu.h | 36 | ||||
| -rw-r--r-- | sys/arch/amiga/include/loadfile_machdep.h | 8 |
3 files changed, 25 insertions, 25 deletions
diff --git a/sys/arch/amiga/include/bus.h b/sys/arch/amiga/include/bus.h index 6fb03c90fbd..c592710554c 100644 --- a/sys/arch/amiga/include/bus.h +++ b/sys/arch/amiga/include/bus.h @@ -1,4 +1,4 @@ -/* $NetBSD: bus.h,v 1.20 2005/12/11 12:16:36 christos Exp $ */ +/* $NetBSD: bus.h,v 1.21 2009/03/14 14:45:54 dsl Exp $ */ /* * Copyright (c) 1996 Leo Weppelman. All rights reserved. @@ -237,9 +237,9 @@ struct amiga_bus_space_methods { /* * Bus read/write barrier methods. * - * void bus_space_barrier __P((bus_space_tag_t tag, + * void bus_space_barrier(bus_space_tag_t tag, * bus_space_handle_t bsh, bus_size_t offset, - * bus_size_t len, int flags)); + * bus_size_t len, int flags); * * Note: the 680x0 does not currently require barriers, but we must * provide the flags to MI code. diff --git a/sys/arch/amiga/include/cpu.h b/sys/arch/amiga/include/cpu.h index e6734cc1dd5..f028dd6d5bc 100644 --- a/sys/arch/amiga/include/cpu.h +++ b/sys/arch/amiga/include/cpu.h @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.h,v 1.70 2008/02/27 18:26:15 xtraeme Exp $ */ +/* $NetBSD: cpu.h,v 1.71 2009/03/14 14:45:54 dsl Exp $ */ /* * Copyright (c) 1982, 1990 The Regents of the University of California. @@ -189,14 +189,14 @@ extern int machineid; /* * Prototypes from amiga_init.c */ -void *alloc_z2mem __P((long)); +void *alloc_z2mem(long); /* * Prototypes from autoconf.c */ -int is_a1200 __P((void)); -int is_a3000 __P((void)); -int is_a4000 __P((void)); +int is_a1200(void); +int is_a3000(void); +int is_a4000(void); #ifdef DRACO #define is_draco() ((machineid >> 24) == 0x7d ? (machineid >> 16) & 0xff : 0) #endif @@ -205,12 +205,12 @@ int is_a4000 __P((void)); /* * Prototypes from kbd.c */ -void drkbdintr __P((void)); +void drkbdintr(void); /* * Prototypes from drsc.c */ -void drsc_handler __P((void)); +void drsc_handler(void); #endif /* @@ -219,27 +219,27 @@ void drsc_handler __P((void)); struct fpframe; struct user; -void clearseg __P((vm_offset_t)); -void doboot __P((void)) __attribute__((__noreturn__)); -void loadustp __P((int)); +void clearseg(vm_offset_t); +void doboot(void) __attribute__((__noreturn__)); +void loadustp(int); #ifdef FPCOPROC -void m68881_save __P((struct fpframe *)); -void m68881_restore __P((struct fpframe *)); +void m68881_save(struct fpframe *); +void m68881_restore(struct fpframe *); #endif -void physcopyseg __P((vm_offset_t, vm_offset_t)); -u_int probeva __P((u_int, u_int)); +void physcopyseg(vm_offset_t, vm_offset_t); +u_int probeva(u_int, u_int); /* * Prototypes from machdep.c */ -int badaddr __P((void *)); -int badbaddr __P((void *)); -void bootsync __P((void)); +int badaddr(void *); +int badbaddr(void *); +void bootsync(void); /* * Prototypes from pmap.c: */ -void pmap_bootstrap __P((vm_offset_t, vm_offset_t)); +void pmap_bootstrap(vm_offset_t, vm_offset_t); #endif /* _KERNEL */ diff --git a/sys/arch/amiga/include/loadfile_machdep.h b/sys/arch/amiga/include/loadfile_machdep.h index 69eba6f3eca..b5ebee7c467 100644 --- a/sys/arch/amiga/include/loadfile_machdep.h +++ b/sys/arch/amiga/include/loadfile_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: loadfile_machdep.h,v 1.4 2008/04/28 20:23:12 martin Exp $ */ +/* $NetBSD: loadfile_machdep.h,v 1.5 2009/03/14 14:45:54 dsl Exp $ */ /*- * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. @@ -71,9 +71,9 @@ #define DEALLOC(a, b) free(a) #define OKMAGIC(a) ((a) == OMAGIC) -ssize_t vread __P((int, u_long, u_long *, size_t)); -void vcopy __P((u_long, u_long, u_long *, size_t)); -void vzero __P((u_long, u_long *, size_t)); +ssize_t vread(int, u_long, u_long *, size_t); +void vcopy(u_long, u_long, u_long *, size_t); +void vzero(u_long, u_long *, size_t); #endif #endif /* ! _AMIGA_LOADFILE_MACHDEP_H_ */ |
