diff --git a/src/xdg-autostart-generator/fuzz-xdg-desktop.c b/src/xdg-autostart-generator/fuzz-xdg-desktop.c index 9aca797e1b..8c01feb827 100644 --- a/src/xdg-autostart-generator/fuzz-xdg-desktop.c +++ b/src/xdg-autostart-generator/fuzz-xdg-desktop.c @@ -1,13 +1,10 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ -#include "alloc-util.h" +#include + #include "fd-util.h" -#include "fs-util.h" #include "fuzz.h" #include "rm-rf.h" -#include "string-util.h" -#include "strv.h" -#include "tests.h" #include "tmpfile-util.h" #include "xdg-autostart-service.h" diff --git a/src/xdg-autostart-generator/test-xdg-autostart.c b/src/xdg-autostart-generator/test-xdg-autostart.c index edad2452be..4caf6087fc 100644 --- a/src/xdg-autostart-generator/test-xdg-autostart.c +++ b/src/xdg-autostart-generator/test-xdg-autostart.c @@ -2,7 +2,6 @@ #include "alloc-util.h" #include "fd-util.h" -#include "fs-util.h" #include "string-util.h" #include "strv.h" #include "tests.h" diff --git a/src/xdg-autostart-generator/xdg-autostart-condition.c b/src/xdg-autostart-generator/xdg-autostart-condition.c index b822ab5aab..a59604082e 100644 --- a/src/xdg-autostart-generator/xdg-autostart-condition.c +++ b/src/xdg-autostart-generator/xdg-autostart-condition.c @@ -1,8 +1,9 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ +#include + #include "log.h" #include "main-func.h" -#include "string-util.h" #include "strv.h" /* diff --git a/src/xdg-autostart-generator/xdg-autostart-generator.c b/src/xdg-autostart-generator/xdg-autostart-generator.c index 37e59991e9..c7b9a1c70a 100644 --- a/src/xdg-autostart-generator/xdg-autostart-generator.c +++ b/src/xdg-autostart-generator/xdg-autostart-generator.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ -#include -#include +#include +#include #include #include "alloc-util.h" @@ -11,11 +11,7 @@ #include "glyph-util.h" #include "hashmap.h" #include "log.h" -#include "main-func.h" -#include "nulstr-util.h" #include "path-lookup.h" -#include "stat-util.h" -#include "string-util.h" #include "strv.h" #include "xdg-autostart-service.h" diff --git a/src/xdg-autostart-generator/xdg-autostart-service.c b/src/xdg-autostart-generator/xdg-autostart-service.c index e4081c9e63..dbf9087304 100644 --- a/src/xdg-autostart-generator/xdg-autostart-service.c +++ b/src/xdg-autostart-generator/xdg-autostart-service.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ -#include #include #include #include @@ -12,8 +11,8 @@ #include "fd-util.h" #include "fileio.h" #include "generator.h" +#include "glyph-util.h" #include "log.h" -#include "nulstr-util.h" #include "parse-util.h" #include "path-util.h" #include "specifier.h" diff --git a/src/xdg-autostart-generator/xdg-autostart-service.h b/src/xdg-autostart-generator/xdg-autostart-service.h index d540a7396c..83a692f708 100644 --- a/src/xdg-autostart-generator/xdg-autostart-service.h +++ b/src/xdg-autostart-generator/xdg-autostart-service.h @@ -1,8 +1,7 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once -#include "macro.h" -#include "memory-util.h" +#include "forward.h" typedef struct XdgAutostartService { char *name;