]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
cleanup-util: include assert-fundamental.h instead of -util
authorMike Yuan <me@yhndnzj.com>
Wed, 25 Mar 2026 15:45:27 +0000 (16:45 +0100)
committerMike Yuan <me@yhndnzj.com>
Thu, 26 Mar 2026 14:55:50 +0000 (15:55 +0100)
The split was initially done to reduce transitive includes,
and for assert() only the former is needed.

src/basic/cleanup-util.h

index 068696d9771ca723bafd6b2b96134d0d1e5cfea6..041c37530aaa9299d7bea7f7a3584254eade45f2 100644 (file)
@@ -1,7 +1,7 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 #pragma once
 
-#include "assert-util.h"
+#include "assert-fundamental.h"
 #include "cleanup-fundamental.h" /* IWYU pragma: export */
 
 typedef void (*free_func_t)(void *p);