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/amd64/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/amd64/include')
| -rw-r--r-- | sys/arch/amd64/include/db_machdep.h | 12 | ||||
| -rw-r--r-- | sys/arch/amd64/include/gdt.h | 8 | ||||
| -rw-r--r-- | sys/arch/amd64/include/proc.h | 4 |
3 files changed, 12 insertions, 12 deletions
diff --git a/sys/arch/amd64/include/db_machdep.h b/sys/arch/amd64/include/db_machdep.h index e4b0b85035e..3ba08cd7e78 100644 --- a/sys/arch/amd64/include/db_machdep.h +++ b/sys/arch/amd64/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: db_machdep.h,v 1.8 2009/03/11 04:16:43 yamt Exp $ */ +/* $NetBSD: db_machdep.h,v 1.9 2009/03/14 14:45:54 dsl Exp $ */ /* * Mach Operating System @@ -97,8 +97,8 @@ extern db_regs_t *ddb_regp; ((user) && (addr) < VM_MAX_ADDRESS)) #if 0 -bool db_check_access __P((vaddr_t, int, task_t)); -bool db_phys_eq __P((task_t, vaddr_t, task_t, vaddr_t)); +bool db_check_access(vaddr_t, int, task_t); +bool db_phys_eq(task_t, vaddr_t, task_t, vaddr_t); #endif /* macros for printing OS server dependent task name */ @@ -123,7 +123,7 @@ void db_task_name(/* task_t */); #define db_thread_fp_used(thread) ((thread)->pcb->ims.ifps != 0) -int kdb_trap __P((int, int, db_regs_t *)); +int kdb_trap(int, int, db_regs_t *); /* * We define some of our own commands @@ -133,8 +133,8 @@ int kdb_trap __P((int, int, db_regs_t *)); #define DB_ELF_SYMBOLS #define DB_ELFSIZE 64 -extern void db_machine_init __P((void)); +extern void db_machine_init(void); -extern void cpu_debug_dump __P((void)); +extern void cpu_debug_dump(void); #endif /* _X86_64_DB_MACHDEP_H_ */ diff --git a/sys/arch/amd64/include/gdt.h b/sys/arch/amd64/include/gdt.h index 0e2dc919251..f757be11b34 100644 --- a/sys/arch/amd64/include/gdt.h +++ b/sys/arch/amd64/include/gdt.h @@ -1,4 +1,4 @@ -/* $NetBSD: gdt.h,v 1.5 2008/04/28 20:23:12 martin Exp $ */ +/* $NetBSD: gdt.h,v 1.6 2009/03/14 14:45:54 dsl Exp $ */ /*- * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc. @@ -34,9 +34,9 @@ struct proc; struct pmap; void gdt_init(void); -void gdt_init_cpu __P((struct cpu_info *)); -void gdt_reload_cpu __P((struct cpu_info *)); -void gdt_alloc_cpu __P((struct cpu_info *)); +void gdt_init_cpu(struct cpu_info *); +void gdt_reload_cpu(struct cpu_info *); +void gdt_alloc_cpu(struct cpu_info *); struct x86_64_tss; int tss_alloc(struct x86_64_tss *); diff --git a/sys/arch/amd64/include/proc.h b/sys/arch/amd64/include/proc.h index db27e89dcc1..66c1980e83c 100644 --- a/sys/arch/amd64/include/proc.h +++ b/sys/arch/amd64/include/proc.h @@ -1,4 +1,4 @@ -/* $NetBSD: proc.h,v 1.11 2008/10/26 00:08:15 mrg Exp $ */ +/* $NetBSD: proc.h,v 1.12 2009/03/14 14:45:54 dsl Exp $ */ /* * Copyright (c) 1991 Regents of the University of California. @@ -56,7 +56,7 @@ struct mdlwp { struct mdproc { int md_flags; /* Syscall handling function */ - void (*md_syscall) __P((struct trapframe *)); + void (*md_syscall)(struct trapframe *); }; /* md_flags */ |
