From abb3a3ef8db76776924df75e841649f005696b88 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Thu, 21 Jun 2001 12:57:44 +0000 Subject: Finish what Theo started (a char * to void * conversion) --- sys/arch/i386/i386/sys_machdep.c | 4 ++-- sys/arch/i386/include/cpu.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/arch/i386') diff --git a/sys/arch/i386/i386/sys_machdep.c b/sys/arch/i386/i386/sys_machdep.c index a15cb907026..d94936980f4 100644 --- a/sys/arch/i386/i386/sys_machdep.c +++ b/sys/arch/i386/i386/sys_machdep.c @@ -102,9 +102,9 @@ i386_user_cleanup(pcb) } int -i386_get_ldt(p, void, retval) +i386_get_ldt(p, args, retval) struct proc *p; - char *args; + void *args; register_t *retval; { int error; diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h index 22d2c229e2a..05bda12fa74 100644 --- a/sys/arch/i386/include/cpu.h +++ b/sys/arch/i386/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.36 2001/05/05 22:33:48 art Exp $ */ +/* $OpenBSD: cpu.h,v 1.37 2001/06/21 12:57:43 niklas Exp $ */ /* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */ /*- @@ -212,8 +212,8 @@ int math_emulate __P((struct trapframe *)); #ifdef USER_LDT /* sys_machdep.h */ void i386_user_cleanup __P((struct pcb *)); -int i386_get_ldt __P((struct proc *, char *, register_t *)); -int i386_set_ldt __P((struct proc *, char *, register_t *)); +int i386_get_ldt __P((struct proc *, void *, register_t *)); +int i386_set_ldt __P((struct proc *, void *, register_t *)); #endif /* isa_machdep.c */ -- cgit v1.2.3