]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-device: enumerator - don't expose add_device()
authorTom Gundersen <teg@jklm.no>
Fri, 17 Apr 2015 11:50:10 +0000 (13:50 +0200)
committerTom Gundersen <teg@jklm.no>
Fri, 17 Apr 2015 12:15:47 +0000 (14:15 +0200)
commit19c9df44921bd4788bba608e9d0756f4fb1d5f89
tree9e2f0087bbba6069e0264787ae074e8f8a9231c5
parentc32eb440bab953a0169cd207dfef5cad16dfb340
sd-device: enumerator - don't expose add_device()

This is rarely, if ever, used. Drop it from the new public API and only keep it for
the legacy API.

Suggested by David Herrmann.
src/libsystemd/sd-device/device-enumerator-private.h
src/libsystemd/sd-device/device-enumerator.c
src/libudev/libudev-enumerate.c
src/systemd/sd-device.h