diff options
author | Andreas Schwab <schwab@suse.de> | 2017-05-08 17:49:59 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2017-05-10 09:38:18 +0200 |
commit | faa9066c4b4a758bb97a8a38173630d821bb6db5 (patch) | |
tree | bab418d3d648ccf3ff93b9145a5ebe0b5d08928a /nptl | |
parent | 8fa11673d6b0feb3804eba6243e4979087e008a8 (diff) | |
download | glibc-faa9066c4b4a758bb97a8a38173630d821bb6db5.zip glibc-faa9066c4b4a758bb97a8a38173630d821bb6db5.tar.gz glibc-faa9066c4b4a758bb97a8a38173630d821bb6db5.tar.bz2 |
Use test-driver in ntpl/tst-fork1.c
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/tst-fork1.c | 6 |
1 files changed, 4 insertions, 2 deletions
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> |