This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.25-299-gfaa9066
- From: schwab at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 10 May 2017 07:41:03 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.25-299-gfaa9066
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via faa9066c4b4a758bb97a8a38173630d821bb6db5 (commit)
from 8fa11673d6b0feb3804eba6243e4979087e008a8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=faa9066c4b4a758bb97a8a38173630d821bb6db5
commit faa9066c4b4a758bb97a8a38173630d821bb6db5
Author: Andreas Schwab <schwab@suse.de>
Date: Mon May 8 17:49:59 2017 +0200
Use test-driver in ntpl/tst-fork1.c
diff --git a/ChangeLog b/ChangeLog
index ca56339..0528b5a 100644
--- 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
--- 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>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
nptl/tst-fork1.c | 6 ++++--
2 files changed, 9 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources