summaryrefslogtreecommitdiff
path: root/common/queue_policies.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/queue_policies.c')
-rw-r--r--common/queue_policies.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/queue_policies.c b/common/queue_policies.c
index 090c837fae..6646d49cf4 100644
--- a/common/queue_policies.c
+++ b/common/queue_policies.c
@@ -1,4 +1,4 @@
-/* Copyright 2015 The Chromium OS Authors. All rights reserved.
+/* Copyright 2015 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
@@ -29,14 +29,14 @@ void queue_remove_direct(struct queue_policy const *policy, size_t count)
struct producer const null_producer = {
.queue = NULL,
- .ops = &((struct producer_ops const) {
- .read = NULL,
+ .ops = &((struct producer_ops const){
+ .read = NULL,
}),
};
struct consumer const null_consumer = {
.queue = NULL,
- .ops = &((struct consumer_ops const) {
+ .ops = &((struct consumer_ops const){
.written = NULL,
}),
};