summaryrefslogtreecommitdiffstats
path: root/src/shared/bus-unit-util.h
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-03-06 19:23:39 +0100
committerMike Yuan <me@yhndnzj.com>2024-03-07 18:10:09 +0100
commitdc35af47df5dd0b86be0943291c2deb6dbb4add5 (patch)
tree4790ca44ad3a0dceca71240ab6ed6747af57aa27 /src/shared/bus-unit-util.h
parentbus-unit-util: define FREEZE_BUS_CALL_TIMEOUT locally (diff)
downloadsystemd-dc35af47df5dd0b86be0943291c2deb6dbb4add5.tar.xz
systemd-dc35af47df5dd0b86be0943291c2deb6dbb4add5.zip
bus-unit-util: trivial follow-up for UnitFreezer
Follow-up for 7483708131b474d92c9207c8c6340b450b58cb94 Make sure that function param names match between source and header. Also, place UnitFreezer params in front.
Diffstat (limited to 'src/shared/bus-unit-util.h')
-rw-r--r--src/shared/bus-unit-util.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/shared/bus-unit-util.h b/src/shared/bus-unit-util.h
index 3c6a001069..a1518158ff 100644
--- a/src/shared/bus-unit-util.h
+++ b/src/shared/bus-unit-util.h
@@ -42,13 +42,11 @@ typedef struct UnitFreezer {
} UnitFreezer;
int unit_freezer_new(const char *name, UnitFreezer *ret);
+void unit_freezer_done(UnitFreezer *f);
-int unit_freezer_freeze(UnitFreezer *freezer);
-
-int unit_freezer_thaw(UnitFreezer *freezer);
-
-void unit_freezer_done(UnitFreezer *freezer);
+int unit_freezer_freeze(UnitFreezer *f);
+int unit_freezer_thaw(UnitFreezer *f);
int unit_freezer_new_freeze(const char *name, UnitFreezer *ret);
-void unit_freezer_done_thaw(UnitFreezer *freezer);
+void unit_freezer_done_thaw(UnitFreezer *f);