summaryrefslogtreecommitdiffstats
path: root/src/systemctl/systemctl-service-watchdogs.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-02-21 16:30:45 +0100
committerLennart Poettering <lennart@poettering.net>2022-02-22 14:15:07 +0100
commit32baf64d5ad131a1480a1ff9b3d47e32a33bc9d5 (patch)
treeab1753525c7506a29d5af148fd99f482c18e9519 /src/systemctl/systemctl-service-watchdogs.c
parentcore: really skip automatic restart when a JOB_STOP job is pending (diff)
downloadsystemd-32baf64d5ad131a1480a1ff9b3d47e32a33bc9d5.tar.xz
systemd-32baf64d5ad131a1480a1ff9b3d47e32a33bc9d5.zip
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.
Diffstat (limited to 'src/systemctl/systemctl-service-watchdogs.c')
-rw-r--r--src/systemctl/systemctl-service-watchdogs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl-service-watchdogs.c b/src/systemctl/systemctl-service-watchdogs.c
index e579851097..620f46aafb 100644
--- a/src/systemctl/systemctl-service-watchdogs.c
+++ b/src/systemctl/systemctl-service-watchdogs.c
@@ -7,7 +7,7 @@
#include "systemctl-util.h"
#include "systemctl.h"
-int service_watchdogs(int argc, char *argv[], void *userdata) {
+int verb_service_watchdogs(int argc, char *argv[], void *userdata) {
sd_bus *bus;
_cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
int b, r;