summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/shared/path-lookup.c4
-rw-r--r--src/shared/path-lookup.h3
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);