chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unit: When stopping due to BindsTo=, log which unit caused it
[elogind.git]
/
src
/
core
/
load-dropin.h
diff --git
a/src/core/load-dropin.h
b/src/core/load-dropin.h
index 0b613c53f18f9e401ba7446b900cfb2e53050d57..1e018c45253f6d03d0036527aa6698c614c8c157 100644
(file)
--- a/
src/core/load-dropin.h
+++ b/
src/core/load-dropin.h
@@
-1,7
+1,6
@@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef fooloaddropinhfoo
-#define fooloaddropinhfoo
+#pragma once
/***
This file is part of systemd.
/***
This file is part of systemd.
@@
-23,9
+22,15
@@
***/
#include "unit.h"
***/
#include "unit.h"
+#include "dropin.h"
/* Read service data supplementary drop-in directories */
/* Read service data supplementary drop-in directories */
-int unit_load_dropin(Unit *u);
+static inline int unit_find_dropin_paths(Unit *u, char ***paths) {
+ return unit_file_find_dropin_paths(u->manager->lookup_paths.unit_path,
+ u->manager->unit_path_cache,
+ u->names,
+ paths);
+}
-#endif
+int unit_load_dropin(Unit *u);