summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-04-06 20:48:58 +0200
committerLennart Poettering <lennart@poettering.net>2016-04-12 13:43:31 +0200
commit9183df707bde9e83d838e7b5a05db0c5f4b55e6d (patch)
tree50e29e20f1aaae9b8479c1e0728ed752470040cc /src/shared
parent07a7864324e146662cb06f49fc3cd666788e2e2f (diff)
install: rename generator_paths() → generator_binary_paths()
This is too confusing, as this funciton returns the paths to the generator binaries, while usually when we refer to the just the "generator path" we mean the generated unit files. Let's clean this up.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/path-lookup.c2
-rw-r--r--src/shared/path-lookup.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/path-lookup.c b/src/shared/path-lookup.c
index 685ae895d2..d3d4243ad4 100644
--- a/src/shared/path-lookup.c
+++ b/src/shared/path-lookup.c
@@ -221,7 +221,7 @@ static char** user_dirs(
return tmp;
}
-char **generator_paths(UnitFileScope scope) {
+char **generator_binary_paths(UnitFileScope scope) {
switch (scope) {
diff --git a/src/shared/path-lookup.h b/src/shared/path-lookup.h
index d151347a1b..29f74cf211 100644
--- a/src/shared/path-lookup.h
+++ b/src/shared/path-lookup.h
@@ -45,7 +45,7 @@ struct LookupPaths {
char *root_dir;
};
-char **generator_paths(UnitFileScope scope);
+char **generator_binary_paths(UnitFileScope scope);
int lookup_paths_init(LookupPaths *p, UnitFileScope scope, const char *root_dir);