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:
8fa1167
)
Use test-driver in ntpl/tst-fork1.c
author
Andreas Schwab
<schwab@suse.de>
Mon, 8 May 2017 15:49:59 +0000
(17:49 +0200)
committer
Andreas Schwab
<schwab@suse.de>
Wed, 10 May 2017 07:38:18 +0000
(09:38 +0200)
ChangeLog
patch
|
blob
|
history
nptl/tst-fork1.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
ca56339
..
0528b5a
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2017-05-10 Andreas Schwab <schwab@suse.de>
+
+ * nptl/tst-fork1.c: Include <support/test-driver.c>.
+ (main): Rename to do_test and make static.
+
2017-05-10 Joseph Myers <joseph@codesourcery.com>
* string/rawmemchr.c: Include <libc-diag.h>.
diff --git
a/nptl/tst-fork1.c
b/nptl/tst-fork1.c
index
9bf1132
..
86c0f55
100644
(file)
--- a/
nptl/tst-fork1.c
+++ b/
nptl/tst-fork1.c
@@
-64,8
+64,8
@@
thread_function (void * arg)
#define N 5
static const int t[N] = { 7, 6, 5, 4, 3 };
-int
-
main
(void)
+
static
int
+
do_test
(void)
{
pthread_t th[N];
int i;
@@
-117,3
+117,5
@@
main (void)
return result;
}
+
+#include <support/test-driver.c>