diff options
Diffstat (limited to 'test/mutex.c')
-rw-r--r-- | test/mutex.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/mutex.c b/test/mutex.c index 4fbf7d5cae..a03e504a0a 100644 --- a/test/mutex.c +++ b/test/mutex.c @@ -1,7 +1,7 @@ -/* Copyright 2011 The Chromium OS Authors. All rights reserved. +/* Copyright 2011 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. - * Copyright 2011 Google Inc. + * Copyright 2011 Google LLC * * Tasks for mutexes basic tests. */ @@ -22,7 +22,7 @@ static struct mutex mtx; int mutex_random_task(void *unused) { - char letter = 'A'+(TASK_ID_MTX3A - task_get_current()); + char letter = 'A' + (TASK_ID_MTX3A - task_get_current()); /* wait to be activated */ while (1) { @@ -110,7 +110,7 @@ int mutex_main_task(void *unused) return EC_SUCCESS; } -void run_test(int argc, char **argv) +void run_test(int argc, const char **argv) { wait_for_task_started(); task_wake(TASK_ID_MTX1); |