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.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/shared/install.h') diff --git a/src/shared/install.h b/src/shared/install.h index c57c23934b..8d54fd14ad 100644 --- a/src/shared/install.h +++ b/src/shared/install.h @@ -137,7 +137,6 @@ int unit_file_set_default(UnitFileScope scope, const char *root_dir, const char int unit_file_get_default(UnitFileScope scope, const char *root_dir, char **name); int unit_file_add_dependency(UnitFileScope scope, bool runtime, const char *root_dir, char **files, const char *target, UnitDependency dep, bool force, UnitFileChange **changes, unsigned *n_changes); -int unit_file_lookup_state(UnitFileScope scope, const LookupPaths *paths, const char *name, UnitFileState *ret); int unit_file_get_state(UnitFileScope scope, const char *root_dir, const char *filename, UnitFileState *ret); int unit_file_exists(UnitFileScope scope, const LookupPaths *paths, const char *name); -- cgit v1.2.3-54-g00ecf