summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-repo-deprecated.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2023-05-01 14:24:29 -0400
committerColin Walters <walters@verbum.org>2023-05-02 08:42:19 -0400
commit453aed97f688c606622562145fa1f7c10096ba14 (patch)
tree8059e3887665735f14b31a44402d5d578fcdd876 /src/libostree/ostree-repo-deprecated.h
parenta917813bb82b6ec7083da24064439b656971748d (diff)
downloadostree-453aed97f688c606622562145fa1f7c10096ba14.tar.gz
tree-wide: Run clang-format
This is a one-time tree wide reformatting to ensure consistency going forward.
Diffstat (limited to 'src/libostree/ostree-repo-deprecated.h')
-rw-r--r--src/libostree/ostree-repo-deprecated.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/libostree/ostree-repo-deprecated.h b/src/libostree/ostree-repo-deprecated.h
index 780c764c..8704410d 100644
--- a/src/libostree/ostree-repo-deprecated.h
+++ b/src/libostree/ostree-repo-deprecated.h
@@ -24,7 +24,7 @@
#ifndef __GI_SCANNER__
#ifndef G_GNUC_DEPRECATED_FOR
-# define G_GNUC_DEPRECATED_FOR(x)
+#define G_GNUC_DEPRECATED_FOR(x)
#endif
#endif
@@ -39,7 +39,8 @@ G_BEGIN_DECLS
* supercedes previous separate enumeration usage in
* ostree_repo_checkout_tree().
*/
-typedef struct {
+typedef struct
+{
OstreeRepoCheckoutMode mode;
OstreeRepoCheckoutOverwriteMode overwrite_mode;
@@ -58,13 +59,10 @@ typedef struct {
} OstreeRepoCheckoutOptions;
_OSTREE_PUBLIC
-gboolean ostree_repo_checkout_tree_at (OstreeRepo *self,
- OstreeRepoCheckoutOptions *options,
- int destination_dfd,
- const char *destination_path,
- const char *commit,
- GCancellable *cancellable,
- GError **error)
-G_GNUC_DEPRECATED_FOR(ostree_repo_checkout_at);
+gboolean ostree_repo_checkout_tree_at (OstreeRepo *self, OstreeRepoCheckoutOptions *options,
+ int destination_dfd, const char *destination_path,
+ const char *commit, GCancellable *cancellable,
+ GError **error)
+ G_GNUC_DEPRECATED_FOR (ostree_repo_checkout_at);
G_END_DECLS