From eb8d10771bf231c82103551a82a9c9e37aef54cd Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Mon, 27 Feb 2023 13:39:14 +0100 Subject: [PATCH] Indent #pragma statements --- test/rt/nanos6/if0.c | 2 +- test/rt/nanos6/nested-task.c | 6 +++--- test/rt/nanos6/sched-add.c | 2 +- test/rt/nanos6/several-tasks.c | 4 ++-- test/rt/nanos6/simple-task.c | 2 +- test/rt/nanos6/taskfor.c | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/rt/nanos6/if0.c b/test/rt/nanos6/if0.c index cdfafc3..4f68ce7 100644 --- a/test/rt/nanos6/if0.c +++ b/test/rt/nanos6/if0.c @@ -7,7 +7,7 @@ int main(void) { -#pragma oss task if (0) + #pragma oss task if (0) { usleep(1000); } diff --git a/test/rt/nanos6/nested-task.c b/test/rt/nanos6/nested-task.c index ffe43bd..5fd90a9 100644 --- a/test/rt/nanos6/nested-task.c +++ b/test/rt/nanos6/nested-task.c @@ -4,12 +4,12 @@ int main(void) { -#pragma oss task + #pragma oss task { -#pragma oss task + #pragma oss task { } -#pragma oss taskwait + #pragma oss taskwait } return 0; } diff --git a/test/rt/nanos6/sched-add.c b/test/rt/nanos6/sched-add.c index 4efeab6..4747121 100644 --- a/test/rt/nanos6/sched-add.c +++ b/test/rt/nanos6/sched-add.c @@ -51,7 +51,7 @@ do_run(void) nanos6_unblock_task(handle[t]); } -#pragma oss taskwait + #pragma oss taskwait } static int diff --git a/test/rt/nanos6/several-tasks.c b/test/rt/nanos6/several-tasks.c index 5fc020c..03a0705 100644 --- a/test/rt/nanos6/several-tasks.c +++ b/test/rt/nanos6/several-tasks.c @@ -5,12 +5,12 @@ int main(void) { for (int i = 0; i < 5000; i++) { -#pragma oss task + #pragma oss task { for (volatile long j = 0; j < 10000L; j++) { } } } -#pragma oss taskwait + #pragma oss taskwait return 0; } diff --git a/test/rt/nanos6/simple-task.c b/test/rt/nanos6/simple-task.c index f983275..b4cfcb0 100644 --- a/test/rt/nanos6/simple-task.c +++ b/test/rt/nanos6/simple-task.c @@ -4,7 +4,7 @@ int main(void) { -#pragma oss task + #pragma oss task { } return 0; diff --git a/test/rt/nanos6/taskfor.c b/test/rt/nanos6/taskfor.c index 95bf6ce..6bb3acb 100644 --- a/test/rt/nanos6/taskfor.c +++ b/test/rt/nanos6/taskfor.c @@ -7,7 +7,7 @@ int main(void) { -#pragma oss task for + #pragma oss task for for (int i = 0; i < 1024; i++) usleep(1000);