Added consts to cpu_set_fork_handler prototype. (Follow i386 version.)

This commit is contained in:
Dmitrij Tejblum 1999-04-20 22:53:54 +00:00
parent 38a3a046fc
commit f998a53420
4 changed files with 11 additions and 11 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
/* $Id: cpu.h,v 1.4 1998/10/06 08:40:17 dfr Exp $ */
/* $Id: cpu.h,v 1.5 1999/02/02 09:08:23 bde Exp $ */
/* From: NetBSD: cpu.h,v 1.18 1997/09/23 23:17:49 mjacob Exp */
/*
@ -174,7 +174,7 @@ void switch_trampoline __P((void)); /* MAGIC */
void syscall __P((u_int64_t, struct trapframe *));
void trap __P((unsigned long, unsigned long, unsigned long, unsigned long,
struct trapframe *));
void cpu_set_fork_handler __P((struct proc *, void (*pc)(void *), void *));
void cpu_set_fork_handler __P((struct proc *, void (*pc)(const void *), const void *));
#endif /* _KERNEL */

View File

@ -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

View File

@ -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