These functions appear to only be used in kern_exit.

Index: sys/kern/kern_exit.c
===================================================================
RCS file: /cvs/src/sys/kern/kern_exit.c,v
retrieving revision 1.154
diff -u -p -r1.154 kern_exit.c
--- sys/kern/kern_exit.c        9 Oct 2015 01:10:27 -0000       1.154
+++ sys/kern/kern_exit.c        3 Mar 2016 10:08:09 -0000
@@ -73,6 +73,10 @@
 
 #include <uvm/uvm_extern.h>
 
+void    proc_finish_wait(struct proc *, struct proc *);
+void    proc_free(struct proc *);
+void    process_zap(struct process *);
+
 /*
  * exit --
  *     Death of process.
Index: sys/sys/proc.h
===================================================================
RCS file: /cvs/src/sys/sys/proc.h,v
retrieving revision 1.213
diff -u -p -r1.213 proc.h
--- sys/sys/proc.h      6 Dec 2015 17:50:21 -0000       1.213
+++ sys/sys/proc.h      3 Mar 2016 10:08:09 -0000
@@ -531,9 +531,6 @@ int single_thread_check(struct proc *, i
 void   child_return(void *);
 
 int    proc_cansugid(struct proc *);
-void   proc_finish_wait(struct proc *, struct proc *);
-void   process_zap(struct process *);
-void   proc_free(struct proc *);
 
 struct sleep_state {
        int sls_s;

-- 
Michal Mazurek

Reply via email to