diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2024-02-22 10:36:52 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2024-03-07 18:49:44 +0100 |
commit | 6812498cb24eb44397a150e6c7754033495f9442 (patch) | |
tree | 215ef18df30abeb23897d7a981071a55ee54190d /src/shared/pretty-print.c | |
parent | shared/conf-parser: collapse pkgdir and conf_file args into one (diff) | |
download | systemd-6812498cb24eb44397a150e6c7754033495f9442.tar.xz systemd-6812498cb24eb44397a150e6c7754033495f9442.zip |
shared/pretty-print: rename output parameters
Diffstat (limited to '')
-rw-r--r-- | src/shared/pretty-print.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/pretty-print.c b/src/shared/pretty-print.c index 3de193e264..f3a8891a79 100644 --- a/src/shared/pretty-print.c +++ b/src/shared/pretty-print.c @@ -308,7 +308,7 @@ void print_separator(void) { fputs("\n\n", stdout); } -static int guess_type(const char **name, char ***prefixes, bool *is_collection, const char **extension) { +static int guess_type(const char **name, char ***ret_prefixes, bool *ret_is_collection, const char **ret_extension) { /* Try to figure out if name is like tmpfiles.d/ or systemd/system-presets/, * i.e. a collection of directories without a main config file. * Incidentally, all those formats don't use sections. So we return a single @@ -355,9 +355,9 @@ static int guess_type(const char **name, char ***prefixes, bool *is_collection, ext = ".preset"; } - *prefixes = (char**) (run ? run_prefixes : std_prefixes); - *is_collection = coll; - *extension = ext; + *ret_prefixes = (char**) (run ? run_prefixes : std_prefixes); + *ret_is_collection = coll; + *ret_extension = ext; return 0; } |