summaryrefslogtreecommitdiffstats
path: root/src/shared/bus-wait-for-units.c
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-04-16 08:43:23 +0200
committerMike Yuan <me@yhndnzj.com>2024-04-19 04:08:36 +0200
commitdf0183d8f14bc05c8f78d2cae5b49f3d8f324b25 (patch)
tree5f50c532ad0ec4b4e772ec214ec6ca4a1900e01f /src/shared/bus-wait-for-units.c
parentbus-wait-for-units: drop ready_callback (diff)
downloadsystemd-df0183d8f14bc05c8f78d2cae5b49f3d8f324b25.tar.xz
systemd-df0183d8f14bc05c8f78d2cae5b49f3d8f324b25.zip
bus-wait-for-units: make callback type end with "_t"
Diffstat (limited to 'src/shared/bus-wait-for-units.c')
-rw-r--r--src/shared/bus-wait-for-units.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/bus-wait-for-units.c b/src/shared/bus-wait-for-units.c
index e84b5386ba..3a4e8937d3 100644
--- a/src/shared/bus-wait-for-units.c
+++ b/src/shared/bus-wait-for-units.c
@@ -18,7 +18,7 @@ typedef struct WaitForItem {
sd_bus_slot *slot_get_all;
sd_bus_slot *slot_properties_changed;
- bus_wait_for_units_unit_callback unit_callback;
+ bus_wait_for_units_unit_callback_t unit_callback;
void *userdata;
char *active_state;
@@ -298,7 +298,7 @@ int bus_wait_for_units_add_unit(
BusWaitForUnits *d,
const char *unit,
BusWaitForUnitsFlags flags,
- bus_wait_for_units_unit_callback callback,
+ bus_wait_for_units_unit_callback_t callback,
void *userdata) {
_cleanup_(wait_for_item_freep) WaitForItem *item = NULL;