From 32baf64d5ad131a1480a1ff9b3d47e32a33bc9d5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 21 Feb 2022 16:30:45 +0100 Subject: systemctl: systematically rename verb entrypoints verb_xyz() Let's clean up our function naming a bit, and always name the verb_xyz(), where the xyz maps to the command line verb as closely as possible. No actual code changes, just an attempt to make the systemctl sources a bit more systematic, and less surprising. --- src/systemctl/systemctl-preset-all.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/systemctl/systemctl-preset-all.c') diff --git a/src/systemctl/systemctl-preset-all.c b/src/systemctl/systemctl-preset-all.c index b5eb199f4a..fa98a9bf80 100644 --- a/src/systemctl/systemctl-preset-all.c +++ b/src/systemctl/systemctl-preset-all.c @@ -7,7 +7,7 @@ #include "systemctl-util.h" #include "systemctl.h" -int preset_all(int argc, char *argv[], void *userdata) { +int verb_preset_all(int argc, char *argv[], void *userdata) { UnitFileChange *changes = NULL; size_t n_changes = 0; int r; @@ -51,7 +51,7 @@ int preset_all(int argc, char *argv[], void *userdata) { goto finish; } - r = daemon_reload(argc, argv, userdata); + r = verb_daemon_reload(argc, argv, userdata); } finish: -- cgit v1.2.1