projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
include: add <atomic> header
[model-checker.git]
/
test
/
userprog.c
diff --git
a/test/userprog.c
b/test/userprog.c
index 645dc3095a366abeb79c976d6d456b6381760a17..b45e8f9dcebe338cfa4374a75c8aaaa45e54a92b 100644
(file)
--- a/
test/userprog.c
+++ b/
test/userprog.c
@@
-21,7
+21,7
@@
static void b(void *obj)
printf("r2=%u\n",r2);
}
-
void user_main(
)
+
int user_main(int argc, char **argv
)
{
thrd_t t1, t2;
@@
-35,4
+35,6
@@
void user_main()
thrd_join(t1);
thrd_join(t2);
printf("Thread %d is finished\n", thrd_current());
+
+ return 0;
}