mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-26 09:57:26 +03:00
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:
parent
d063a52741
commit
5b5ad18dd9
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user