diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-29 08:36:45 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-29 08:36:45 +0000 |
commit | 1c7115fb5f80e294b4cc5eb1ea863df6dd3024f4 (patch) | |
tree | b5b52097389338ac55748d63bf92af2d4a36e4aa /sys/amd64/amd64 | |
parent | cf8e8cebcc0d1caa79eb2e92784961cfe301f5bb (diff) | |
download | FreeBSD-src-1c7115fb5f80e294b4cc5eb1ea863df6dd3024f4.zip FreeBSD-src-1c7115fb5f80e294b4cc5eb1ea863df6dd3024f4.tar.gz |
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.
Diffstat (limited to 'sys/amd64/amd64')
-rw-r--r-- | sys/amd64/amd64/vm_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 |