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.
This commit is contained in:
Lennart Poettering
2016-04-12 13:43:31 +02:00
parent d063a52741
commit 5b5ad18dd9
2 changed files with 2 additions and 5 deletions
+2 -2
View File
@@ -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;
-3
View File
@@ -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);