summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2001-06-21 12:57:44 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2001-06-21 12:57:44 +0000
commitabb3a3ef8db76776924df75e841649f005696b88 (patch)
treebbbabdef659e3d89da7c48260366c16d8d6a9a94
parent17d81aed77988f30aa9c5eaf352c11be8217b97d (diff)
Finish what Theo started (a char * to void * conversion)
-rw-r--r--sys/arch/i386/i386/sys_machdep.c4
-rw-r--r--sys/arch/i386/include/cpu.h6
2 files changed, 5 insertions, 5 deletions
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 */