projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4158ba0
)
Use test-driver in nptl/tst-fork3.c
author
Andreas Schwab
<schwab@suse.de>
Thu, 18 May 2017 16:08:06 +0000
(18:08 +0200)
committer
Andreas Schwab
<schwab@suse.de>
Wed, 31 May 2017 07:45:38 +0000
(09:45 +0200)
ChangeLog
patch
|
blob
|
history
nptl/tst-fork3.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
859f582
..
1dc6d5c
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2017-05-31 Andreas Schwab <schwab@suse.de>
+
+ * nptl/tst-fork3.c: Include <support/test-driver.c>.
+ (main): Rename to do_test and make static.
+
2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
* csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
diff --git
a/nptl/tst-fork3.c
b/nptl/tst-fork3.c
index
8fee264
..
33d93f2
100644
(file)
--- a/
nptl/tst-fork3.c
+++ b/
nptl/tst-fork3.c
@@
-87,8
+87,8
@@
tf1 (void *arg)
}
-int
-
main
(void)
+
static
int
+
do_test
(void)
{
initial_pid = getpid ();
@@
-104,3
+104,5
@@
main (void)
return 1;
}
+
+#include <support/test-driver.c>