diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-04-08 11:30:24 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-04-12 13:43:32 +0200 |
commit | 2c52204c3f615df482d42e5c27d609fd8cb16a7a (patch) | |
tree | d4ac905affb0e89461bb35f832cf7268b643eb73 /src/shared/install.c | |
parent | 6eb7c172b58d81a5f6c3998ce304a7324fc65050 (diff) |
nstall: no need to export unit_file_lookup_state() anymore
We only use it inside of install.c, hence let's make it static.
Diffstat (limited to 'src/shared/install.c')
-rw-r--r-- | src/shared/install.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shared/install.c b/src/shared/install.c index 7497a39219..3d48f612f3 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -65,6 +65,8 @@ typedef struct { OrderedHashmap *have_processed; } InstallContext; +static int unit_file_lookup_state(UnitFileScope scope, const LookupPaths *paths, const char *name, UnitFileState *ret); + static int in_search_path(const LookupPaths *p, const char *path) { _cleanup_free_ char *parent = NULL; char **i; @@ -1958,7 +1960,7 @@ int unit_file_get_default( return 0; } -int unit_file_lookup_state( +static int unit_file_lookup_state( UnitFileScope scope, const LookupPaths *paths, const char *name, |