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-security.c | |
parent | analyze: move "condition" verb into analyze-condition.[ch] (diff) | |
download | systemd-ef38bedbf9c713490912e07e279b6f6a524e54f3.tar.xz systemd-ef38bedbf9c713490912e07e279b6f6a524e54f3.zip |
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-security.c')
-rw-r--r-- | src/analyze/analyze-security.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze/analyze-security.c b/src/analyze/analyze-security.c index 642c4f5d1c..f1d3ff7480 100644 --- a/src/analyze/analyze-security.c +++ b/src/analyze/analyze-security.c @@ -2890,7 +2890,7 @@ static int analyze_security(sd_bus *bus, return ret; } -int do_security(int argc, char *argv[], void *userdata) { +int verb_security(int argc, char *argv[], void *userdata) { _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL; _cleanup_(json_variant_unrefp) JsonVariant *policy = NULL; int r; |