summaryrefslogtreecommitdiff
path: root/src/shared/conf-parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/conf-parser.c')
-rw-r--r--src/shared/conf-parser.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c
index f31d219418..f3351c6bb2 100644
--- a/src/shared/conf-parser.c
+++ b/src/shared/conf-parser.c
@@ -397,13 +397,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;