Privatize major().

This commit is contained in:
phk 2005-03-29 08:13:17 +00:00
parent 5192468e8b
commit 1f1723c8d9
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);