8000 Export the kernel API pgrp_calc_jobc · mcusim/freebsd-src@6e55ba5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6e55ba5

Browse files
joyu liaochmeeedalf
authored andcommitted
Export the kernel API pgrp_calc_jobc
Summary: Export the kernel API pgrp_calc_jobc for use by other modules or functions. Reviewed By: kib Obtained from: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D47539
1 parent 41adc5f commit 6e55ba5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sys/kern/kern_proc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ jobc_parent(struct proc *p, struct proc *p_exiting)
725725
return (jobc_reaper(pp));
726726
}
727727

728-
static int
728+
int
729729
pgrp_calc_jobc(struct pgrp *pgrp)
730730
{
731731
struct proc *q;

sys/sys/proc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,6 +1176,7 @@ int p_canwait(struct thread *td, struct proc *p);
11761176
struct pargs *pargs_alloc(int len);
11771177
void pargs_drop(struct pargs *pa);
11781178
void pargs_hold(struct pargs *pa);
1179+
int pgrp_calc_jobc(struct pgrp *pgrp);
11791180
void proc_add_orphan(struct proc *child, struct proc *parent);
11801181
int proc_get_binpath(struct proc *p, char *binname, char **fullpath,
11811182
char **freepath);

0 commit comments

Comments
 (0)
0