diff options
author | Tom Gundersen <teg@jklm.no> | 2015-04-17 13:50:10 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-04-17 14:15:47 +0200 |
commit | 19c9df44921bd4788bba608e9d0756f4fb1d5f89 (patch) | |
tree | 9e2f0087bbba6069e0264787ae074e8f8a9231c5 /src/libudev | |
parent | c32eb440bab953a0169cd207dfef5cad16dfb340 (diff) |
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.
Diffstat (limited to 'src/libudev')
-rw-r--r-- | src/libudev/libudev-enumerate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-enumerate.c b/src/libudev/libudev-enumerate.c index 290c3dae42..1498697d7b 100644 --- a/src/libudev/libudev-enumerate.c +++ b/src/libudev/libudev-enumerate.c @@ -351,7 +351,7 @@ _public_ int udev_enumerate_add_syspath(struct udev_enumerate *udev_enumerate, c if (r < 0) return r; - r = sd_device_enumerator_add_device(udev_enumerate->enumerator, device); + r = device_enumerator_add_device(udev_enumerate->enumerator, device); if (r < 0) return r; |