summaryrefslogtreecommitdiff
path: root/chip/host
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 14:14:43 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-28 22:59:25 +0000
commitbfc65d5c3ecdc3047e08661c5e5ac30bcd34e50e (patch)
treed22236d44f545c9efda9e5c8505a781ba10e7ceb /chip/host
parentf50cd2fd3e0eb964da7c6d06a8e4c3ae8a5b49f4 (diff)
downloadchrome-ec-bfc65d5c3ecdc3047e08661c5e5ac30bcd34e50e.tar.gz
chip/host/reboot.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: Ieaa8dc379756eebdb1916565d37db074138f647a Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729168 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'chip/host')
-rw-r--r--chip/host/reboot.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/chip/host/reboot.c b/chip/host/reboot.c
index e932c5f11a..dcda65f455 100644
--- a/chip/host/reboot.c
+++ b/chip/host/reboot.c
@@ -20,10 +20,9 @@ void emulator_reboot(void)
ccprints("Emulator would reboot here. Fuzzing: doing nothing.");
}
#else /* !TEST_FUZZ */
-noreturn
-void emulator_reboot(void)
+noreturn void emulator_reboot(void)
{
- char *argv[] = {strdup(__get_prog_name()), NULL};
+ char *argv[] = { strdup(__get_prog_name()), NULL };
emulator_flush();
execv(__get_prog_name(), argv);
while (1)