summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-10-19 18:55:22 +0000
committerjhb <jhb@FreeBSD.org>2000-10-19 18:55:22 +0000
commitb480cb0dddc10d0187140d8b239ff15ffa08ae51 (patch)
tree4973199d53a083198e2e0a266d09e8c6f4bea3ef
parent8ce5db22acb927a7f83717fd34370ca8bc69762e (diff)
downloadFreeBSD-src-b480cb0dddc10d0187140d8b239ff15ffa08ae51.zip
FreeBSD-src-b480cb0dddc10d0187140d8b239ff15ffa08ae51.tar.gz
- Move the prototype for proc_reparent from sys/ptrace.h to sys/proc.h
- Fix the sorting of function prototypes in sys/proc.h
-rw-r--r--sys/sys/proc.h3
-rw-r--r--sys/sys/ptrace.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 554f066..24ed708 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -501,9 +501,10 @@ void fixjobc __P((struct proc *p, struct pgrp *pgrp, int entering));
int inferior __P((struct proc *p));
int leavepgrp __P((struct proc *p));
void mi_switch __P((void));
-void procinit __P((void));
int p_can __P((const struct proc *p1, const struct proc *p2, int operation,
int *privused));
+void proc_reparent __P((struct proc *child, struct proc *newparent));
+void procinit __P((void));
void resetpriority __P((struct proc *));
int roundrobin_interval __P((void));
diff --git a/sys/sys/ptrace.h b/sys/sys/ptrace.h
index 62c2d67..dcbafc2 100644
--- a/sys/sys/ptrace.h
+++ b/sys/sys/ptrace.h
@@ -55,7 +55,6 @@
#include <machine/ptrace.h> /* machine-specific requests, if any */
#ifdef _KERNEL
-void proc_reparent __P((struct proc *child, struct proc *newparent));
int ptrace_set_pc __P((struct proc *p, unsigned long addr));
int ptrace_single_step __P((struct proc *p));
int ptrace_write_u __P((struct proc *p, vm_offset_t off, long data));
OpenPOWER on IntegriCloud