diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-03-24 20:49:00 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-07-17 14:27:23 +0200 |
commit | 043fdc40105f976fc4884dbe95345d1cf05f5c64 (patch) | |
tree | a2a092807c012f4bd2daa514964e291993edce55 /src/shared/dropin.h | |
parent | b5328434c91b10ad49647e2352e62b1fbdce329d (diff) | |
download | systemd-043fdc40105f976fc4884dbe95345d1cf05f5c64.tar.gz |
pid1: kill unit_file_find_dropin_paths() helper
It had two users, but it is just a very thin wrapper around
unit_file_find_dropin_paths(), so using it seems more complicated than directly
invoking unit_file_find_dropin_paths() twice.
Diffstat (limited to 'src/shared/dropin.h')
-rw-r--r-- | src/shared/dropin.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/shared/dropin.h b/src/shared/dropin.h index ae7379beee..88e1674c52 100644 --- a/src/shared/dropin.h +++ b/src/shared/dropin.h @@ -23,17 +23,3 @@ int unit_file_find_dropin_paths( const char *file_suffix, Set *names, char ***paths); - -static inline int unit_file_find_dropin_conf_paths( - const char *original_root, - char **lookup_path, - Set *unit_path_cache, - Set *names, - char ***paths) { - - return unit_file_find_dropin_paths(original_root, - lookup_path, - unit_path_cache, - ".d", ".conf", - names, paths); -} |