Indent #pragma statements

This commit is contained in:
Rodrigo Arias 2023-02-27 13:39:14 +01:00 committed by Rodrigo Arias Mallo
parent 6f31af0612
commit eb8d10771b
6 changed files with 9 additions and 9 deletions

View File

@ -7,7 +7,7 @@
int int
main(void) main(void)
{ {
#pragma oss task if (0) #pragma oss task if (0)
{ {
usleep(1000); usleep(1000);
} }

View File

@ -4,12 +4,12 @@
int int
main(void) main(void)
{ {
#pragma oss task #pragma oss task
{ {
#pragma oss task #pragma oss task
{ {
} }
#pragma oss taskwait #pragma oss taskwait
} }
return 0; return 0;
} }

View File

@ -51,7 +51,7 @@ do_run(void)
nanos6_unblock_task(handle[t]); nanos6_unblock_task(handle[t]);
} }
#pragma oss taskwait #pragma oss taskwait
} }
static int static int

View File

@ -5,12 +5,12 @@ int
main(void) main(void)
{ {
for (int i = 0; i < 5000; i++) { for (int i = 0; i < 5000; i++) {
#pragma oss task #pragma oss task
{ {
for (volatile long j = 0; j < 10000L; j++) { for (volatile long j = 0; j < 10000L; j++) {
} }
} }
} }
#pragma oss taskwait #pragma oss taskwait
return 0; return 0;
} }

View File

@ -4,7 +4,7 @@
int int
main(void) main(void)
{ {
#pragma oss task #pragma oss task
{ {
} }
return 0; return 0;

View File

@ -7,7 +7,7 @@
int int
main(void) main(void)
{ {
#pragma oss task for #pragma oss task for
for (int i = 0; i < 1024; i++) for (int i = 0; i < 1024; i++)
usleep(1000); usleep(1000);