diff options
author | Michael Biebl <biebl@debian.org> | 2017-10-10 00:22:57 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2017-10-10 00:22:57 +0200 |
commit | f5e65279187b6aa0c0c5a00b14dca9eab441ffb2 (patch) | |
tree | b834735b2b8fabf24499bb8cc12d4f24870436f7 /src/shared/install.h | |
parent | 81c583552ee1c3355cdef1b11a33737dd98e6971 (diff) | |
download | systemd-f5e65279187b6aa0c0c5a00b14dca9eab441ffb2.tar.gz |
New upstream version 235
Diffstat (limited to 'src/shared/install.h')
-rw-r--r-- | src/shared/install.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/shared/install.h b/src/shared/install.h index 7a5859e729..c1fcbe96ed 100644 --- a/src/shared/install.h +++ b/src/shared/install.h @@ -132,20 +132,6 @@ struct UnitFileInstallInfo { bool auxiliary; }; -static inline bool UNIT_FILE_INSTALL_INFO_HAS_RULES(UnitFileInstallInfo *i) { - assert(i); - - return !strv_isempty(i->aliases) || - !strv_isempty(i->wanted_by) || - !strv_isempty(i->required_by); -} - -static inline bool UNIT_FILE_INSTALL_INFO_HAS_ALSO(UnitFileInstallInfo *i) { - assert(i); - - return !strv_isempty(i->also); -} - bool unit_type_may_alias(UnitType type) _const_; bool unit_type_may_template(UnitType type) _const_; |