summaryrefslogtreecommitdiff
path: root/src/shared/path-lookup.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2015-04-19 17:02:47 +0200
committerAndy Wingo <wingo@pobox.com>2015-04-19 17:02:47 +0200
commit2f07de3b6cacf44462635ab0fff56391b491e454 (patch)
tree3914110c3522d334caa89bbb2920d5fe5671cdda /src/shared/path-lookup.c
parentd52bc7015f3fa1b80cf236ee05b74ff805fc8630 (diff)
Get rid of some more unused defines and dirs
Diffstat (limited to 'src/shared/path-lookup.c')
-rw-r--r--src/shared/path-lookup.c15
1 files changed, 0 insertions, 15 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,