From 593effe2fb0e096937f46a4d0930b1fcc9f811cd Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 4 Aug 2016 07:22:41 -0400 Subject: [PATCH] lib: Add padding booleans to OstreeRepoCheckoutAtOptions Since this is a new API, and adding booleans is the most likely thing we'll do, let's stick some explicit padding for them in here now. We could use the `unused_ints[]` but it'd be out of order, and this will more clearly remind people about the padding. The efficiency hit versus bitfields is annoying, but oh well, not a real world problem. Closes: #427 Approved by: giuseppe --- src/libostree/ostree-repo.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libostree/ostree-repo.h b/src/libostree/ostree-repo.h index f1ba22f1..ff1e712d 100644 --- a/src/libostree/ostree-repo.h +++ b/src/libostree/ostree-repo.h @@ -752,6 +752,7 @@ typedef struct { gboolean enable_fsync; /* Deprecated */ gboolean process_whiteouts; gboolean no_copy_fallback; + gboolean unused_bools[7]; const char *subpath;