summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2023-05-01 13:51:47 -0400
committerColin Walters <walters@verbum.org>2023-05-01 15:37:57 -0400
commitabd5427c3b7c8a125dfb29f42b6798774ed62bac (patch)
tree83b8ff78163a663d0d69956627f264b2ec156f76
parentf56131976ea7e0945101a3ce97256dc1280cc0d3 (diff)
downloadostree-abd5427c3b7c8a125dfb29f42b6798774ed62bac.tar.gz
lib: clang-format `ostree.h`
In order to make this work, we need to move the autocleanup definitions after the other headers.
-rw-r--r--src/libostree/ostree.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/libostree/ostree.h b/src/libostree/ostree.h
index 8422823e..6c52ba0e 100644
--- a/src/libostree/ostree.h
+++ b/src/libostree/ostree.h
@@ -20,26 +20,28 @@
#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>