aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2000-10-19 18:55:22 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2000-10-19 18:55:22 +0000
commitbd788f7acaeb371ee90cf3b2459e1f00b0e88902 (patch)
treead094c8c0e96b1720210f28315b6a5a014763e1d
parent0cfbef3288eaa5fc7c171291f8597611a0ffb6e2 (diff)
downloadsrc-bd788f7acaeb371ee90cf3b2459e1f00b0e88902.tar.gz
src-bd788f7acaeb371ee90cf3b2459e1f00b0e88902.zip
- Move the prototype for proc_reparent from sys/ptrace.h to sys/proc.h
- Fix the sorting of function prototypes in sys/proc.h
Notes
Notes: svn path=/head/; revision=67321
-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 554f066db012..24ed7083e4e5 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 62c2d676bde7..dcbafc242048 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));