diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-03-14 23:28:23 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-03-14 23:28:23 +0000 |
commit | e22a221d6b7cf1c9bfdc4d7813193f5466fb6c66 (patch) | |
tree | 32658eecbe8e88aa49eb2bd9be0ade8c031b5287 /nptl/tst-fork4.c | |
parent | 42c8f44c05148a94ba8fef62716f90b61c863287 (diff) | |
download | glibc-e22a221d6b7cf1c9bfdc4d7813193f5466fb6c66.tar.gz glibc-e22a221d6b7cf1c9bfdc4d7813193f5466fb6c66.tar.xz glibc-e22a221d6b7cf1c9bfdc4d7813193f5466fb6c66.zip |
Update.
2003-03-14 Ulrich Drepper <drepper@redhat.com> * tst-fork4.c: Use test-skeleton.c. * pthread_create.c (start_thread): Use CALL_THREAD_FCT if defined. * sysdeps/i386/tls.h: Define CALL_THREAD_FCT.
Diffstat (limited to 'nptl/tst-fork4.c')
-rw-r--r-- | nptl/tst-fork4.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nptl/tst-fork4.c b/nptl/tst-fork4.c index 7f2b178e26..7cb0f9c1f2 100644 --- a/nptl/tst-fork4.c +++ b/nptl/tst-fork4.c @@ -24,8 +24,9 @@ #include <sys/types.h> #include <sys/wait.h> -int -main (void) + +static int +do_test (void) { pthread_t me = pthread_self (); @@ -58,3 +59,6 @@ main (void) return 1; } + +#define TEST_FUNCTION do_test () +#include "../test-skeleton.c" |