Privatize major().

This commit is contained in:
Poul-Henning Kamp 2005-03-29 08:13:17 +00:00
parent 97eb8cfae0
commit fd5f6f4cf2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144279
2 changed files with 1 additions and 2 deletions

View file

@ -234,7 +234,7 @@ no_poll(struct cdev *dev __unused, int events, struct thread *td __unused)
* struct cdev * and u_dev_t primitives
*/
int
static int
major(struct cdev *x)
{
if (x == NULL)

View file

@ -306,7 +306,6 @@ void wakeup_one(void *chan) __nonnull(1);
*/
struct cdev;
int major(struct cdev *x);
int minor(struct cdev *x);
dev_t dev2udev(struct cdev *x);
int uminor(dev_t dev);