diff options
author | Andy Wingo <wingo@pobox.com> | 2015-04-19 17:02:47 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2015-04-19 17:02:47 +0200 |
commit | 2f07de3b6cacf44462635ab0fff56391b491e454 (patch) | |
tree | 3914110c3522d334caa89bbb2920d5fe5671cdda /src | |
parent | d52bc7015f3fa1b80cf236ee05b74ff805fc8630 (diff) |
Get rid of some more unused defines and dirs
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/path-lookup.c | 15 | ||||
-rw-r--r-- | src/shared/path-lookup.h | 2 |
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, |