diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index 3a89053d870..4d09eea37d5 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -3409,7 +3409,7 @@ xlate_fflags(int fflags) } /* Trim unused data from kf_path by truncating the structure size. */ -static void +void pack_kinfo(struct kinfo_file *kif) { diff --git a/sys/sys/user.h b/sys/sys/user.h index db98abb5aef..75661257528 100644 --- a/sys/sys/user.h +++ b/sys/sys/user.h @@ -608,6 +608,7 @@ int kern_proc_vmmap_out(struct proc *p, struct sbuf *sb, ssize_t maxlen, int flags); int vntype_to_kinfo(int vtype); +void pack_kinfo(struct kinfo_file *kif); #endif /* !_KERNEL */ #endif