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:
Konstantin Belousov 2016-01-13 14:03:06 +00:00
parent c77f6350ee
commit a53b7c692d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=293827
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);