libudev: accept NULL as the argument 'struct udev*' for udev_monitor_new() or friends
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 22 Aug 2018 04:15:46 +0000 (13:15 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 22 Aug 2018 19:57:39 +0000 (04:57 +0900)
commit3938f568a2bc224651271b9c25204db8d8bd4e18
tree85e3588f6c42c7e077625e40c313aaa03e7e7328
parent6ae4283cb14c4e4a895f4bbba703804e4128c86c
libudev: accept NULL as the argument 'struct udev*' for udev_monitor_new() or friends

As udev_monitor struct or friends are now almost independent of udev
struct. So, generating these objects without udev struct is reasonable.
src/libudev/libudev-device.c
src/libudev/libudev-enumerate.c
src/libudev/libudev-hwdb.c
src/libudev/libudev-monitor.c
src/libudev/libudev-queue.c
src/shared/udev-util.c
src/udev/udevadm-util.c