Add declaration for static export_file_to_kinfo()

Reviewed by:	jhb, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D33277
This commit is contained in:
Konstantin Belousov 2021-12-06 19:42:20 +02:00
parent 2616ee608c
commit 6e51d61a96

View File

@ -107,6 +107,9 @@ VFS_SMR_DECLARE;
static int closefp(struct filedesc *fdp, int fd, struct file *fp,
struct thread *td, bool holdleaders, bool audit);
static void export_file_to_kinfo(struct file *fp, int fd,
cap_rights_t *rightsp, struct kinfo_file *kif,
struct filedesc *fdp, int flags);
static int fd_first_free(struct filedesc *fdp, int low, int size);
static void fdgrowtable(struct filedesc *fdp, int nfd);
static void fdgrowtable_exp(struct filedesc *fdp, int nfd);