From 2c52204c3f615df482d42e5c27d609fd8cb16a7a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 8 Apr 2016 11:30:24 +0200 Subject: nstall: no need to export unit_file_lookup_state() anymore We only use it inside of install.c, hence let's make it static. --- src/shared/install.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/shared/install.c') 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, -- cgit v1.2.3-54-g00ecf