From d25e100bd6def67f302e43794869b651e780bffa Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 8 Oct 2015 16:17:31 +0200 Subject: install: various simplifications --- src/shared/install.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/shared/install.h') diff --git a/src/shared/install.h b/src/shared/install.h index a9d77dd91b..74d9ebab65 100644 --- a/src/shared/install.h +++ b/src/shared/install.h @@ -107,15 +107,8 @@ 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, char *target, UnitDependency dep, bool force, UnitFileChange **changes, unsigned *n_changes); -UnitFileState unit_file_lookup_state( - UnitFileScope scope, - const char *root_dir, - const LookupPaths *paths, - const char *name); -UnitFileState unit_file_get_state( - UnitFileScope scope, - const char *root_dir, - const char *filename); +UnitFileState unit_file_lookup_state(UnitFileScope scope, const char *root_dir,const LookupPaths *paths, const char *name); +UnitFileState unit_file_get_state(UnitFileScope scope, const char *root_dir, const char *filename); int unit_file_get_list(UnitFileScope scope, const char *root_dir, Hashmap *h); -- cgit v1.2.3-54-g00ecf