]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/dropin.h
hwdb: Lenovo IdeaPad Z500 Touchpad Toggle (#33039)
[thirdparty/systemd.git] / src / shared / dropin.h
index a14fcc023f46fbf6a80a3c0df1f09dd94de59b82..54cceaff1aca3d249905357583fe6f7934cb3355 100644 (file)
@@ -1,12 +1,6 @@
-/* SPDX-License-Identifier: LGPL-2.1+ */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 #pragma once
 
-/***
-  This file is part of systemd.
-
-  Copyright 2014 Zbigniew JÄ™drzejewski-Szmek
-***/
-
 #include "hashmap.h"
 #include "macro.h"
 #include "set.h"
@@ -27,18 +21,6 @@ int unit_file_find_dropin_paths(
                 Set *unit_path_cache,
                 const char *dir_suffix,
                 const char *file_suffix,
-                Set *names,
+                const char *name,
+                const Set *aliases,
                 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);
-}