summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shared/path-lookup.c15
-rw-r--r--src/shared/path-lookup.h2
2 files changed, 0 insertions, 17 deletions
diff --git a/src/shared/path-lookup.c b/src/shared/path-lookup.c
index 83abf53faa..3d16e37d02 100644
--- a/src/shared/path-lookup.c
+++ b/src/shared/path-lookup.c
@@ -218,21 +218,6 @@ static char** user_dirs(
return tmp;
}
-char **generator_paths(SystemdRunningAs running_as) {
- if (running_as == SYSTEMD_USER)
- return strv_new("/run/systemd/user-generators",
- "/etc/systemd/user-generators",
- "/usr/local/lib/systemd/user-generators",
- USER_GENERATOR_PATH,
- NULL);
- else
- return strv_new("/run/systemd/system-generators",
- "/etc/systemd/system-generators",
- "/usr/local/lib/systemd/system-generators",
- SYSTEM_GENERATOR_PATH,
- NULL);
-}
-
int lookup_paths_init(
LookupPaths *p,
SystemdRunningAs running_as,
diff --git a/src/shared/path-lookup.h b/src/shared/path-lookup.h
index 2e0d3f7bda..3982974bad 100644
--- a/src/shared/path-lookup.h
+++ b/src/shared/path-lookup.h
@@ -39,8 +39,6 @@ typedef enum SystemdRunningAs {
int user_config_home(char **config_home);
int user_runtime_dir(char **runtime_dir);
-char **generator_paths(SystemdRunningAs running_as);
-
int lookup_paths_init(LookupPaths *p,
SystemdRunningAs running_as,
bool personal,