Make devfs_fpdrop() static. It was not a public KPI, and it has no

reason to remain exported for some time.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
kib 2016-01-13 14:03:06 +00:00
parent e884cfc968
commit 21f21e7647
2 changed files with 1 additions and 2 deletions

View File

@ -192,7 +192,7 @@ devfs_destroy_cdevpriv(struct cdev_privdata *p)
free(p, M_CDEVPDATA);
}
void
static void
devfs_fpdrop(struct file *fp)
{
struct cdev_privdata *p;

View File

@ -299,7 +299,6 @@ typedef void d_priv_dtor_t(void *data);
int devfs_get_cdevpriv(void **datap);
int devfs_set_cdevpriv(void *priv, d_priv_dtor_t *dtr);
void devfs_clear_cdevpriv(void);
void devfs_fpdrop(struct file *fp); /* XXX This is not public KPI */
ino_t devfs_alloc_cdp_inode(void);
void devfs_free_cdp_inode(ino_t ino);