From 5b5ad18dd9c22957092a651300a2e48bc34959d5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 26 Feb 2016 18:35:46 +0100 Subject: 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. --- src/shared/path-lookup.c | 4 ++-- 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); -- cgit v1.2.3-54-g00ecf