diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-26 18:35:46 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-04-12 13:43:31 +0200 |
commit | 5b5ad18dd9c22957092a651300a2e48bc34959d5 (patch) | |
tree | f9957058ae91d3b635c443b39f96abd527ab66e7 /src/shared | |
parent | d063a527411ac9aa715bee59a9dcc59c877d2362 (diff) |
path-lookup: stop exporting two functions
user_runtime_dir() and user_config_home() are not used externally anymore,
hence let's not export them anymore.
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/path-lookup.c | 4 | ||||
-rw-r--r-- | src/shared/path-lookup.h | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/shared/path-lookup.c b/src/shared/path-lookup.c index eeabdd1ecd..22357e6392 100644 --- a/src/shared/path-lookup.c +++ b/src/shared/path-lookup.c @@ -34,7 +34,7 @@ #include "strv.h" #include "util.h" -int user_config_home(char **config_home) { +static int user_config_home(char **config_home) { const char *e; char *r; @@ -63,7 +63,7 @@ int user_config_home(char **config_home) { return 0; } -int user_runtime_dir(char **runtime_dir) { +static int user_runtime_dir(char **runtime_dir) { const char *e; char *r; diff --git a/src/shared/path-lookup.h b/src/shared/path-lookup.h index 5a5d734deb..03f103dcc0 100644 --- a/src/shared/path-lookup.h +++ b/src/shared/path-lookup.h @@ -45,9 +45,6 @@ struct LookupPaths { char *root_dir; }; -int user_config_home(char **config_home); -int user_runtime_dir(char **runtime_dir); - char **generator_paths(UnitFileScope scope); int lookup_paths_init(LookupPaths *p, UnitFileScope scope, const char *root_dir); |