summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-device/device-enumerator-private.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-04-17 13:50:10 +0200
committerTom Gundersen <teg@jklm.no>2015-04-17 14:15:47 +0200
commit19c9df44921bd4788bba608e9d0756f4fb1d5f89 (patch)
tree9e2f0087bbba6069e0264787ae074e8f8a9231c5 /src/libsystemd/sd-device/device-enumerator-private.h
parentc32eb440bab953a0169cd207dfef5cad16dfb340 (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/libsystemd/sd-device/device-enumerator-private.h')
-rw-r--r--src/libsystemd/sd-device/device-enumerator-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd/sd-device/device-enumerator-private.h b/src/libsystemd/sd-device/device-enumerator-private.h
index 515a60da22..4d0a2d3c79 100644
--- a/src/libsystemd/sd-device/device-enumerator-private.h
+++ b/src/libsystemd/sd-device/device-enumerator-private.h
@@ -25,6 +25,7 @@
int device_enumerator_scan_devices(sd_device_enumerator *enumeartor);
int device_enumerator_scan_subsystems(sd_device_enumerator *enumeartor);
+int device_enumerator_add_device(sd_device_enumerator *enumerator, sd_device *device);
sd_device *device_enumerator_get_first(sd_device_enumerator *enumerator);
sd_device *device_enumerator_get_next(sd_device_enumerator *enumerator);