summaryrefslogtreecommitdiff
path: root/src/shared/install.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-08 16:17:31 +0200
committerLennart Poettering <lennart@poettering.net>2015-11-12 17:56:49 +0100
commitd25e100bd6def67f302e43794869b651e780bffa (patch)
tree6500b269f33e7e1164758dbef9aeb418f35ce30c /src/shared/install.h
parent05c450966a08ff85fa8348e2fe41b722612fa3dc (diff)
install: various simplifications
Diffstat (limited to 'src/shared/install.h')
-rw-r--r--src/shared/install.h11
1 files changed, 2 insertions, 9 deletions
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);