From 1c7115fb5f80e294b4cc5eb1ea863df6dd3024f4 Mon Sep 17 00:00:00 2001 From: dillon Date: Fri, 29 Jan 1999 08:36:45 +0000 Subject: More -Wall / -Wcast-qual cleanup. Also, EXEC_SET can't use C_DECLARE_MODULE due to the linker_file_sysinit() function making modifications to the data. --- sys/amd64/amd64/vm_machdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/amd64/amd64/vm_machdep.c') diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index d0bdc93..297a10f 100644 --- a/sys/amd64/amd64/vm_machdep.c +++ b/sys/amd64/amd64/vm_machdep.c @@ -38,7 +38,7 @@ * * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$ - * $Id: vm_machdep.c,v 1.114 1998/12/16 15:21:51 bde Exp $ + * $Id: vm_machdep.c,v 1.115 1999/01/06 23:05:37 julian Exp $ */ #include "npx.h" @@ -201,8 +201,8 @@ cpu_fork(p1, p2) void cpu_set_fork_handler(p, func, arg) struct proc *p; - void (*func) __P((void *)); - void *arg; + void (*func) __P((const void *)); + const void *arg; { /* * Note that the trap frame follows the args, so the function -- cgit v1.1