Privatize major().
This commit is contained in:
parent
5192468e8b
commit
1f1723c8d9
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user