diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-09-10 11:02:40 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-07-05 08:50:53 +0200 |
commit | f5bde5c2e002da719e4015f725409e14772f8a3f (patch) | |
tree | 020ce4354cc497ee4fb4c7d5ff1413b65e58e98c /src/shared/conf-parser.c | |
parent | cbd05280cb09c7860736290c7730ebb47664af84 (diff) |
tree-wide: rename config_parse_many to …_nulstr
In preparation for adding a version which takes a strv.
Diffstat (limited to 'src/shared/conf-parser.c')
-rw-r--r-- | src/shared/conf-parser.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index 60da8ca8d..af005dee0 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -396,13 +396,15 @@ int config_parse(const char *unit, } /* Parse each config file in the specified directories. */ -int config_parse_many(const char *conf_file, - const char *conf_file_dirs, - const char *sections, - ConfigItemLookup lookup, - const void *table, - bool relaxed, - void *userdata) { +int config_parse_many_nulstr( + const char *conf_file, + const char *conf_file_dirs, + const char *sections, + ConfigItemLookup lookup, + const void *table, + bool relaxed, + void *userdata) { + _cleanup_strv_free_ char **files = NULL; char **fn; int r; |