diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 15:15:20 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-28 11:48:28 +0000 |
commit | 5bea2e04d18f66e15caadc1746214e34c582b92e (patch) | |
tree | daea667ac0c660c7bb2ce7a56b08f34681a0fb2e /include/queue_policies.h | |
parent | bb7c307e1044b645500426f60ee556f3dae5ca5f (diff) | |
download | chrome-ec-5bea2e04d18f66e15caadc1746214e34c582b92e.tar.gz |
include/queue_policies.h: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I96af0acdd23eacfc1a969ad01a9e668801ce1010
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730395
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'include/queue_policies.h')
-rw-r--r-- | include/queue_policies.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/queue_policies.h b/include/queue_policies.h index b9d698072f..4e01cfc23a 100644 --- a/include/queue_policies.h +++ b/include/queue_policies.h @@ -27,7 +27,7 @@ struct queue_policy_direct { void queue_add_direct(struct queue_policy const *policy, size_t count); void queue_remove_direct(struct queue_policy const *policy, size_t count); -#define QUEUE_POLICY_DIRECT(PRODUCER, CONSUMER) \ +#define QUEUE_POLICY_DIRECT(PRODUCER, CONSUMER) \ ((struct queue_policy_direct const) { \ .policy = { \ .add = queue_add_direct, \ @@ -37,7 +37,7 @@ void queue_remove_direct(struct queue_policy const *policy, size_t count); .consumer = &CONSUMER, \ }) -#define QUEUE_DIRECT(SIZE, TYPE, PRODUCER, CONSUMER) \ +#define QUEUE_DIRECT(SIZE, TYPE, PRODUCER, CONSUMER) \ QUEUE(SIZE, TYPE, QUEUE_POLICY_DIRECT(PRODUCER, CONSUMER).policy) /* |