aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-10-29 22:02:32 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-11-06 02:12:32 +0000
commit52e2887d1dcb1e214eeacf09b9af401194053754 (patch)
tree9234dc1f5ac5613cac96f667876982ebdafd1fbf
parentea4e8e191c0ecb12da16c34c2d14f04bc7f955c7 (diff)
downloadsrc-52e2887d1dcb1e214eeacf09b9af401194053754.tar.gz
src-52e2887d1dcb1e214eeacf09b9af401194053754.zip
sys/proc.h: put proc_add_orphan() into proper place
(cherry picked from commit b4c7d45c849071b31936fec6ec43f3d4df3ef3d8)
-rw-r--r--sys/sys/proc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index df09f3f5d86d..a09a006b836b 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -1114,6 +1114,7 @@ int p_canwait(struct thread *td, struct proc *p);
struct pargs *pargs_alloc(int len);
void pargs_drop(struct pargs *pa);
void pargs_hold(struct pargs *pa);
+void proc_add_orphan(struct proc *child, struct proc *parent);
int proc_getargv(struct thread *td, struct proc *p, struct sbuf *sb);
int proc_getauxv(struct thread *td, struct proc *p, struct sbuf *sb);
int proc_getenvv(struct thread *td, struct proc *p, struct sbuf *sb);
@@ -1124,7 +1125,6 @@ void proc_linkup(struct proc *p, struct thread *td);
struct proc *proc_realparent(struct proc *child);
void proc_reap(struct thread *td, struct proc *p, int *status, int options);
void proc_reparent(struct proc *child, struct proc *newparent, bool set_oppid);
-void proc_add_orphan(struct proc *child, struct proc *parent);
void proc_set_traced(struct proc *p, bool stop);
void proc_wkilled(struct proc *p);
struct pstats *pstats_alloc(void);