mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-20 23:35:02 +00:00
Privatize major().
This commit is contained in:
parent
97eb8cfae0
commit
fd5f6f4cf2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144279
|
@ -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 a new issue