mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Make pack_kinfo() available for external callers.
Reviewed by: jilles, tmunro Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D20258
This commit is contained in:
parent
999d5a34e7
commit
bc2d137acb
2 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue