<sys/types.h>: Get rid of udev_t.
commit91ffdfc56308b48600d5b200bd03a4da6ae6e2e4
authorSascha Wildner <saw@online.de>
Sun, 1 Dec 2019 10:59:08 +0000 (1 11:59 +0100)
committerSascha Wildner <saw@online.de>
Sun, 1 Dec 2019 10:59:08 +0000 (1 11:59 +0100)
tree57f6e7400308043cd9193f3b3ea4df4b1de172e1
parentf2219fd3f675d0f96d4fd693c7c3472b7d725ac2
<sys/types.h>: Get rid of udev_t.

In a time long long ago, dev_t was a pointer, which later became cdev_t
during the great cleanups, until it ended up being a uint32_t, just like
udev_t. See for example the definitions of __dev_t in <sys/stat.h>.

This commit cleans up further by removing the udev_t type, leaving just
the POSIX dev_t type for both kernel and userland. Put it inside a
_DEV_T_DECLARED to prepare for further cleanups in <sys/stat.h>.
30 files changed:
sbin/sysctl/sysctl.8
sys/dev/disk/dm/dm.h
sys/dev/misc/snp/snp.c
sys/kern/kern_conf.c
sys/kern/kern_proc.c
sys/kern/kern_shutdown.c
sys/kern/vfs_jops.c
sys/kern/vfs_journal.c
sys/sys/acct.h
sys/sys/conf.h
sys/sys/devfs.h
sys/sys/param.h
sys/sys/snoop.h
sys/sys/stat.h
sys/sys/sysctl.h
sys/sys/systm.h
sys/sys/types.h
sys/sys/vfscache.h
sys/vfs/devfs/devfs_core.c
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_subs.c
sys/vfs/isofs/cd9660/cd9660_node.h
sys/vfs/nfs/nfs_serv.c
sys/vfs/nfs/nfs_subs.c
sys/vfs/tmpfs/tmpfs_subr.c
usr.bin/fstat/fstat.c
usr.bin/fstat/fstat.h
usr.bin/fstat/hammer.c
usr.bin/fstat/hammer2.c
usr.bin/fstat/tmpfs.c