diff options
author | dt <dt@FreeBSD.org> | 1999-04-20 22:53:54 +0000 |
---|---|---|
committer | dt <dt@FreeBSD.org> | 1999-04-20 22:53:54 +0000 |
commit | 9eacfd41889da5cad57e4a8ac677c049983b6e69 (patch) | |
tree | 2df355687d94176ccc8b89dc93596a88c3306e4e /sys/powerpc | |
parent | 4fc9be52674835f5e227469c3f47fb7178a78cff (diff) | |
download | FreeBSD-src-9eacfd41889da5cad57e4a8ac677c049983b6e69.zip FreeBSD-src-9eacfd41889da5cad57e4a8ac677c049983b6e69.tar.gz |
Added consts to cpu_set_fork_handler prototype. (Follow i386 version.)
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/aim/vm_machdep.c | 6 | ||||
-rw-r--r-- | sys/powerpc/powerpc/vm_machdep.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/powerpc/aim/vm_machdep.c b/sys/powerpc/aim/vm_machdep.c index 37fce54..89ee4e3 100644 --- a/sys/powerpc/aim/vm_machdep.c +++ b/sys/powerpc/aim/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.11 1999/02/08 02:42:12 dillon Exp $ + * $Id: vm_machdep.c,v 1.12 1999/04/19 14:14:12 peter Exp $ */ /* * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. @@ -219,8 +219,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 diff --git a/sys/powerpc/powerpc/vm_machdep.c b/sys/powerpc/powerpc/vm_machdep.c index 37fce54..89ee4e3 100644 --- a/sys/powerpc/powerpc/vm_machdep.c +++ b/sys/powerpc/powerpc/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.11 1999/02/08 02:42:12 dillon Exp $ + * $Id: vm_machdep.c,v 1.12 1999/04/19 14:14:12 peter Exp $ */ /* * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. @@ -219,8 +219,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 |