lib: clang-format `ostree.h`
authorColin Walters <walters@verbum.org>
Mon, 1 May 2023 17:51:47 +0000 (13:51 -0400)
committerColin Walters <walters@verbum.org>
Mon, 1 May 2023 19:37:57 +0000 (15:37 -0400)
In order to make this work, we need to move the autocleanup
definitions after the other headers.

src/libostree/ostree.h

index 8422823e44d1bd50cd4efacdf7484e0af7400038..6c52ba0e70a4e7f87fea06b7f465dc59d0e71de0 100644 (file)
 #pragma once
 
 #include <ostree-async-progress.h>
+#include <ostree-bootconfig-parser.h>
 #include <ostree-content-writer.h>
 #include <ostree-core.h>
-#include <ostree-repo.h>
-#include <ostree-repo-os.h>
-#include <ostree-mutable-tree.h>
-#include <ostree-remote.h>
-#include <ostree-repo-file.h>
-#include <ostree-sysroot.h>
-#include <ostree-sysroot-upgrader.h>
 #include <ostree-deployment.h>
-#include <ostree-bootconfig-parser.h>
 #include <ostree-diff.h>
 #include <ostree-gpg-verify-result.h>
+#include <ostree-kernel-args.h>
+#include <ostree-mutable-tree.h>
 #include <ostree-ref.h>
-#include <ostree-repo-finder.h>
+#include <ostree-remote.h>
+#include <ostree-repo-file.h>
 #include <ostree-repo-finder-avahi.h>
 #include <ostree-repo-finder-config.h>
 #include <ostree-repo-finder-mount.h>
 #include <ostree-repo-finder-override.h>
-#include <ostree-kernel-args.h>
+#include <ostree-repo-finder.h>
+#include <ostree-repo-os.h>
+#include <ostree-repo.h>
 #include <ostree-sign.h>
-#include <ostree-autocleanups.h>
+#include <ostree-sysroot-upgrader.h>
+#include <ostree-sysroot.h>
 #include <ostree-version.h>
+
+// Include after type definitions
+#include <ostree-autocleanups.h>