diff options
Diffstat (limited to 'boehm-gc/tests/thread_leak_test.c')
-rw-r--r-- | boehm-gc/tests/thread_leak_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/boehm-gc/tests/thread_leak_test.c b/boehm-gc/tests/thread_leak_test.c index 1174705e45e..eb4cb9bd018 100644 --- a/boehm-gc/tests/thread_leak_test.c +++ b/boehm-gc/tests/thread_leak_test.c @@ -19,7 +19,7 @@ void * test(void * arg) { #define NTHREADS 5 -main() { +int main() { int i; pthread_t t[NTHREADS]; int code; @@ -37,4 +37,5 @@ main() { CHECK_LEAKS(); CHECK_LEAKS(); CHECK_LEAKS(); + return 0; } |