mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
core: minor coding style changes
This commit is contained in:
@@ -51,8 +51,8 @@ static int process_deps(Unit *u, UnitDependency dependency, const char *dir_suff
|
||||
return r;
|
||||
|
||||
STRV_FOREACH(p, paths) {
|
||||
const char *entry;
|
||||
_cleanup_free_ char *target = NULL;
|
||||
const char *entry;
|
||||
|
||||
entry = basename(*p);
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
/* Read service data supplementary drop-in directories */
|
||||
|
||||
static inline int unit_find_dropin_paths(Unit *u, char ***paths) {
|
||||
assert(u);
|
||||
|
||||
return unit_file_find_dropin_conf_paths(NULL,
|
||||
u->manager->lookup_paths.search_path,
|
||||
u->manager->unit_path_cache,
|
||||
|
||||
@@ -36,6 +36,7 @@ static inline int unit_file_find_dropin_conf_paths(
|
||||
Set *unit_path_cache,
|
||||
Set *names,
|
||||
char ***paths) {
|
||||
|
||||
return unit_file_find_dropin_paths(original_root,
|
||||
lookup_path,
|
||||
unit_path_cache,
|
||||
|
||||
Reference in New Issue
Block a user