projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
user_main: pass remaining arguments to the user program
[c11tester.git]
/
test
/
pending-release.c
diff --git
a/test/pending-release.c
b/test/pending-release.c
index f3ae9f43420b2cdc5de5e8cf59cf4c72921ecba9..739c45e0f675931507e35e9b656a767fdf04fb5d 100644
(file)
--- a/
test/pending-release.c
+++ b/
test/pending-release.c
@@
-46,7
+46,7
@@
static void c(void *obj)
atomic_store_explicit(&x, 22, memory_order_relaxed);
}
-
void user_main(
)
+
int user_main(int argc, char **argv
)
{
thrd_t t1, t2, t5;
int i = 4;
@@
-60,4
+60,6
@@
void user_main()
thrd_join(t1);
thrd_join(t2);
thrd_join(t5);
+
+ return 0;
}