diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-02-21 14:51:56 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-02-21 17:22:23 +0100 |
commit | ef38bedbf9c713490912e07e279b6f6a524e54f3 (patch) | |
tree | 37f845bf637404d0b00da498c0c0b3bc0124e581 /src/analyze/analyze-plot.c | |
parent | e82116e56bc3f3311f0ab9702a906393cb87e175 (diff) | |
download | systemd-ef38bedbf9c713490912e07e279b6f6a524e54f3.tar.gz |
analyze: systematically name verb entry point functions verb_xyz()
Some of the functions so far were named do_xyz(), others dump_xyz() and
even others test_xyz(). let's instead name them exactly like the verb
exposed in the command line, just prefixed with verb_
Diffstat (limited to 'src/analyze/analyze-plot.c')
-rw-r--r-- | src/analyze/analyze-plot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze/analyze-plot.c b/src/analyze/analyze-plot.c index d2acf36273..d663a6561c 100644 --- a/src/analyze/analyze-plot.c +++ b/src/analyze/analyze-plot.c @@ -178,7 +178,7 @@ static int plot_unit_times(UnitTimes *u, double width, int y) { return 1; } -int analyze_plot(int argc, char *argv[], void *userdata) { +int verb_plot(int argc, char *argv[], void *userdata) { _cleanup_(free_host_infop) HostInfo *host = NULL; _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL; _cleanup_(unit_times_free_arrayp) UnitTimes *times = NULL; |