Move the declaration of faultin() from the vm headers to proc.h, since

it is now referenced from a macro there (PHOLD()).
This commit is contained in:
peter 1999-04-13 19:17:15 +00:00
parent 4c7fabcc47
commit dfdcc62332
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)proc.h 8.15 (Berkeley) 5/19/95
* $Id: proc.h,v 1.75 1999/03/12 02:24:55 julian Exp $
* $Id: proc.h,v 1.76 1999/04/06 03:23:09 peter Exp $
*/
#ifndef _SYS_PROC_H_
@ -381,7 +381,8 @@ int fork1 __P((struct proc *, int));
int trace_req __P((struct proc *));
void cpu_wait __P((struct proc *));
int cpu_coredump __P((struct proc *, struct vnode *, struct ucred *));
void setsugid __P((struct proc *p));
void setsugid __P((struct proc *p));
void faultin __P((struct proc *p));
#endif /* KERNEL */
#endif /* !_SYS_PROC_H_ */

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)vm_extern.h 8.2 (Berkeley) 1/12/94
* $Id: vm_extern.h,v 1.39 1999/01/06 23:05:41 julian Exp $
* $Id: vm_extern.h,v 1.40 1999/01/26 02:49:52 julian Exp $
*/
#ifndef _VM_EXTERN_H_
@ -60,7 +60,6 @@ int sstk __P((struct proc *, void *, int *));
int swapon __P((struct proc *, void *, int *));
#endif
void faultin __P((struct proc *p));
int grow __P((struct proc *, size_t));
int grow_stack __P((struct proc *, size_t));
int kernacc __P((caddr_t, int, int));