summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-rollsum.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2023-05-03 08:24:21 -0400
committerGitHub <noreply@github.com>2023-05-03 08:24:21 -0400
commit8a2993a9d01cc358e4c2d936ca132174aabdc714 (patch)
tree5402001ab710dadfd51ba3e9071b044016030e3e /src/libostree/ostree-rollsum.h
parentdd70c9b78cc34ccc7e638eda4c2df1ddd8ee3add (diff)
parentc1044a02b28982ef6dd58af98b23a40482d26487 (diff)
downloadostree-8a2993a9d01cc358e4c2d936ca132174aabdc714.tar.gz
Merge pull request #2565 from cgwalters/clang-format
Add .clang-format file + tree-wide: Run `clang-format`
Diffstat (limited to 'src/libostree/ostree-rollsum.h')
-rw-r--r--src/libostree/ostree-rollsum.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/libostree/ostree-rollsum.h b/src/libostree/ostree-rollsum.h
index 50016b3b..ac620f48 100644
--- a/src/libostree/ostree-rollsum.h
+++ b/src/libostree/ostree-rollsum.h
@@ -19,12 +19,13 @@
#pragma once
-#include <gio/gio.h>
#include "libglnx.h"
+#include <gio/gio.h>
G_BEGIN_DECLS
-typedef struct {
+typedef struct
+{
GHashTable *from_rollsums;
GHashTable *to_rollsums;
guint crcmatches;
@@ -34,11 +35,9 @@ typedef struct {
GPtrArray *matches;
} OstreeRollsumMatches;
-OstreeRollsumMatches *
-_ostree_compute_rollsum_matches (GBytes *from,
- GBytes *to);
+OstreeRollsumMatches *_ostree_compute_rollsum_matches (GBytes *from, GBytes *to);
void _ostree_rollsum_matches_free (OstreeRollsumMatches *rollsum);
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(OstreeRollsumMatches, _ostree_rollsum_matches_free)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (OstreeRollsumMatches, _ostree_rollsum_matches_free)
G_END_DECLS